update for recent demo server upgrade.

This commit is contained in:
Keith Woodlock
2012-09-11 12:29:20 +01:00
parent 940a665255
commit 587cb496b4
9 changed files with 65 additions and 29 deletions
@@ -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;