CC-3814 Calendar: Switch view between "day" and "week" will cause some Notice in apache's error.log

-fixed
This commit is contained in:
Martin Konecny 2012-05-25 12:14:20 -04:00
parent eb4207dd1d
commit 2ee6b144f3
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ ALTER TABLE cc_show_instances
ALTER COLUMN time_filled TYPE interval /* TYPE change - table: cc_show_instances original: time without time zone new: interval */,
ALTER COLUMN time_filled SET DEFAULT '00:00:00'::interval;
UPDATE cc_show_instances SET time_filled = '00:00:00' WHERE time_filled is NULL;
UPDATE cc_show_instances SET created = now();
UPDATE cc_show_instances SET last_scheduled = now();