diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index e76439b1c6..803272621f 100644 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -4,4 +4,18 @@ 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-15.sql b/resources/db_update_scripts/update_db_2012-02-15.sql index b9eef475d4..e580370175 100644 --- a/resources/db_update_scripts/update_db_2012-02-15.sql +++ b/resources/db_update_scripts/update_db_2012-02-15.sql @@ -4,6 +4,7 @@ ALTER TABLE projectIdea ADD COLUMN applicationPeriod_id bigint(20) NOT NULL, -- required database changes for new keyword imports. ALTER TABLE Keyword ADD COLUMN identifier bigint(20); +-- BELOW IS ONLY FOR PROD DB, DON'T USE LOCALLY IF YOU DON'T HAVE THE SAME KEYWORD IDs UPDATE Keyword SET identifier = 17 WHERE Keyword.id = 181; UPDATE Keyword SET identifier = 14 WHERE Keyword.id = 179; UPDATE Keyword SET identifier = 28 WHERE Keyword.id = 180;