MIFOSX-26 Added Office to Group.

This commit is contained in:
Michal Dudzinski
2012-09-26 15:24:45 +02:00
parent 3617197f5f
commit f53e662b6d
10 changed files with 122 additions and 34 deletions
@@ -0,0 +1,3 @@
alter table m_group add column office_id bigint(20) NOT NULL AFTER id;
update m_group set office_id = 1 WHERE office_id = 0;
alter table m_group add constraint foreign key (`office_id`) references `m_office` (`id`);