diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index 6c61c926b7..e69de29bb2 100644 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,8 +0,0 @@ -CREATE TABLE `projectIdea_Employee` ( - `projectIdea_id` bigint(20) NOT NULL, - `supervisorInterest_id` bigint(20) NOT NULL, - KEY `FK485C987D4E31D7A1` (`projectIdea_id`), - KEY `FK485C987DBB2259FB` (`supervisorInterest_id`), - CONSTRAINT `FK485C987DBB2259FB` FOREIGN KEY (`supervisorInterest_id`) REFERENCES `role` (`id`), - CONSTRAINT `FK485C987D4E31D7A1` FOREIGN KEY (`projectIdea_id`) REFERENCES `projectIdea` (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 \ No newline at end of file diff --git a/resources/db_update_scripts/db_update_2012-04-01.sql b/resources/db_update_scripts/db_update_2012-04-01.sql new file mode 100644 index 0000000000..6c61c926b7 --- /dev/null +++ b/resources/db_update_scripts/db_update_2012-04-01.sql @@ -0,0 +1,8 @@ +CREATE TABLE `projectIdea_Employee` ( + `projectIdea_id` bigint(20) NOT NULL, + `supervisorInterest_id` bigint(20) NOT NULL, + KEY `FK485C987D4E31D7A1` (`projectIdea_id`), + KEY `FK485C987DBB2259FB` (`supervisorInterest_id`), + CONSTRAINT `FK485C987DBB2259FB` FOREIGN KEY (`supervisorInterest_id`) REFERENCES `role` (`id`), + CONSTRAINT `FK485C987D4E31D7A1` FOREIGN KEY (`projectIdea_id`) REFERENCES `projectIdea` (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 \ No newline at end of file