From fc33af744aadba3d17faad20f943ec5f44f846a1 Mon Sep 17 00:00:00 2001 From: Emil Siverhall <emil-siv@dsv.su.se> Date: Thu, 2 Aug 2012 16:01:39 +0200 Subject: [PATCH] updated current.sql with new first meeting table --- resources/db_update_scripts/current.sql | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index e70c3576f1..08656f69ac 100644 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,2 +1,12 @@ alter table `general_system_settings` drop column matchAlgorithmMatchesAreForceAccepted; -alter table `general_system_settings` drop column supervisorsCanAcceptDeclinePIs; \ No newline at end of file +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;