The link between a team (SURFConext) and external groups from the universities.
* Because the original data behind this bean comes from external sources, we do all CRUD operations by jdbc templates
instead of Hibernate.
MySQL query to create this table:
CREATE TABLE `team_external_groups` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`grouper_team_id` varchar(255) DEFAULT NULL,
`external_groups_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `grouper_team_id` (`grouper_team_id`,`external_groups_id`),
KEY `FKB046E6E69AB3B3FA` (`external_groups_id`),
CONSTRAINT `FKB046E6E69AB3B3FA` FOREIGN KEY (`external_groups_id`) REFERENCES `external_groups` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;