FIXED MIFOSX-19: Group formation

This commit is contained in:
Michal Dudzinski
2012-08-08 11:02:49 +02:00
parent c6dd2f55f8
commit eff8838f5b
6 changed files with 117 additions and 27 deletions
@@ -0,0 +1,8 @@
CREATE TABLE `portfolio_group_client` (
`group_id` bigint(20) NOT NULL,
`client_id` bigint(20) NOT NULL,
PRIMARY KEY (`group_id`,`client_id`),
FOREIGN KEY (`group_id`) REFERENCES `portfolio_group` (`id`),
FOREIGN KEY (`client_id`) REFERENCES `portfolio_client` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;