new db update file

This commit is contained in:
Fredrik Friis 2012-02-24 12:30:34 +09:00
parent 16d48e64cd
commit 06be88e3bc
2 changed files with 21 additions and 21 deletions
resources/db_update_scripts

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

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