From eaaa105e910f6bb19250f4966db9c8a8695de4e4 Mon Sep 17 00:00:00 2001 From: fred-fri <fred-fri@dsv.su.se> Date: Fri, 10 Aug 2012 10:31:48 +0900 Subject: [PATCH] new db file --- resources/db_update_scripts/current.sql | 12 ------------ resources/db_update_scripts/db_update_2012-08-10.sql | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 resources/db_update_scripts/db_update_2012-08-10.sql diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index 08656f69ac..e69de29bb2 100644 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,12 +0,0 @@ -alter table `general_system_settings` drop column matchAlgorithmMatchesAreForceAccepted; -alter table `general_system_settings` drop column supervisorsCanAcceptDeclinePIs; - -CREATE TABLE `first_meeting` ( - `id` bigint(20) NOT NULL AUTO_INCREMENT, - `firstMeetingDate` datetime NOT NULL, - `description` varchar(1024) NOT NULL, - `supervisoridea_id` bigint(20) NOT NULL, - PRIMARY KEY (`id`), - KEY `FK2E9F13AC8DE85053` (`supervisoridea_id`), - CONSTRAINT `FK2E9F13AC8DE85053` FOREIGN KEY (`supervisoridea_id`) REFERENCES `supervisoridea` (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; diff --git a/resources/db_update_scripts/db_update_2012-08-10.sql b/resources/db_update_scripts/db_update_2012-08-10.sql new file mode 100644 index 0000000000..8d37f17eb3 --- /dev/null +++ b/resources/db_update_scripts/db_update_2012-08-10.sql @@ -0,0 +1,12 @@ +alter table `general_system_settings` drop column matchAlgorithmMatchesAreForceAccepted; +alter table `general_system_settings` drop column supervisorsCanAcceptDeclinePIs; + +CREATE TABLE `first_meeting` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `firstMeetingDate` datetime NOT NULL, + `description` varchar(1024) NOT NULL, + `supervisoridea_id` bigint(20) NOT NULL, + PRIMARY KEY (`id`), + KEY `FK2E9F13AC8DE85053` (`supervisoridea_id`), + CONSTRAINT `FK2E9F13AC8DE85053` FOREIGN KEY (`supervisoridea_id`) REFERENCES `supervisoridea` (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;