Mifosx 54, associating relations to staff entity
This commit is contained in:
committed by
Keith Woodlock
parent
1585b33f42
commit
fa6370d31a
+9
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE `m_staff`
|
||||
ADD COLUMN `office_id` BIGINT(20) NULL AFTER `id`,
|
||||
ADD CONSTRAINT `FK_m_staff_m_office` FOREIGN KEY (`office_id`) REFERENCES `m_office` (`id`);
|
||||
|
||||
ALTER TABLE `m_staff`
|
||||
ADD COLUMN `is_loan_officer` TINYINT(1) NOT NULL DEFAULT 0 AFTER `id`;
|
||||
|
||||
update m_staff set office_id=1;
|
||||
|
||||
Reference in New Issue
Block a user