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' +);