The new SQL for the changes of the table ApplicationPeriod must be tested properly before it can be delivered.

This commit is contained in:
Tom Vahlman 2012-02-20 16:09:33 +01:00
parent a630784ae4
commit b5c106f5a1

@ -1,5 +1,7 @@
-- it is not possible to set a proper default DATETIME in mysql so we settle for "0", the sql works irrespective if the table are empty or not
ALTER TABLE `ApplicationPeriod` CHANGE `startDate` `startDate` DATETIME NOT NULL DEFAULT 0,
/*ALTER TABLE `ApplicationPeriod` CHANGE `startDate` `startDate` DATETIME NOT NULL DEFAULT 0,
CHANGE `endDate` `endDate` DATETIME NOT NULL DEFAULT 0,
CHANGE `name` `name` varchar(255) NOT NULL
CHANGE `name` `name` varchar(255) NOT NULL*/
-- => the new SQL should be tested, ie "run all tests", before delivering