From acf24198b80e4f14069b24d5ec71d34db9c4dbfa Mon Sep 17 00:00:00 2001 From: Fredrik Friis <fred-fri@dsv.su.se> Date: Sun, 1 Apr 2012 12:44:57 +0900 Subject: [PATCH] new db update file --- resources/db_update_scripts/current.sql | 8 -------- resources/db_update_scripts/db_update_2012-04-01.sql | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 resources/db_update_scripts/db_update_2012-04-01.sql 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