From 06be88e3bc43008af1e5f682a517b1ebd75997d5 Mon Sep 17 00:00:00 2001 From: Fredrik Friis <fred-fri@dsv.su.se> Date: Fri, 24 Feb 2012 12:30:34 +0900 Subject: [PATCH] new db update file --- resources/db_update_scripts/current.sql | 21 ------------------- .../update_db_2012-02-24.sql | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 resources/db_update_scripts/update_db_2012-02-24.sql diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index 803272621f..e69de29bb2 100644 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,21 +0,0 @@ --- we choose not to have any default DATETIME values -ALTER TABLE `ApplicationPeriod` CHANGE `startDate` `startDate` DATETIME NOT NULL, -CHANGE `endDate` `endDate` DATETIME NOT NULL, -CHANGE `name` `name` varchar(255) NOT NULL - - --- Add Thesis Support-user to Scipro database. -INSERT INTO `scipro`.`user` ( -`id` , -`dateCreated` , -`lastModified` , -`deleted` , -`emailAddress` , -`firstName` , -`identifier` , -`lastName` , -`version` -) -VALUES ( -NULL , '2012-02-21 10:27:30', '2012-02-21 10:27:35','0', 'thesissupport@dsv.su.se', 'Thesis', NULL , 'Support', '0' -); diff --git a/resources/db_update_scripts/update_db_2012-02-24.sql b/resources/db_update_scripts/update_db_2012-02-24.sql new file mode 100644 index 0000000000..803272621f --- /dev/null +++ b/resources/db_update_scripts/update_db_2012-02-24.sql @@ -0,0 +1,21 @@ +-- we choose not to have any default DATETIME values +ALTER TABLE `ApplicationPeriod` CHANGE `startDate` `startDate` DATETIME NOT NULL, +CHANGE `endDate` `endDate` DATETIME NOT NULL, +CHANGE `name` `name` varchar(255) NOT NULL + + +-- Add Thesis Support-user to Scipro database. +INSERT INTO `scipro`.`user` ( +`id` , +`dateCreated` , +`lastModified` , +`deleted` , +`emailAddress` , +`firstName` , +`identifier` , +`lastName` , +`version` +) +VALUES ( +NULL , '2012-02-21 10:27:30', '2012-02-21 10:27:35','0', 'thesissupport@dsv.su.se', 'Thesis', NULL , 'Support', '0' +);