Mifosx 54, associating relations to staff entity

This commit is contained in:
Vishwas Babu AJ
2012-09-09 14:34:37 +01:00
committed by Keith Woodlock
parent 1585b33f42
commit fa6370d31a
22 changed files with 390 additions and 59 deletions
+9
View File
@@ -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;