From 44a51882528f76e42b835b323e88f3945c70738e Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 20 Feb 2010 12:42:16 +0000 Subject: [PATCH] * fix the error of the update db. --- trunk/db/update0.4.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/db/update0.4.sql b/trunk/db/update0.4.sql index ae78352515..ba344d1287 100644 --- a/trunk/db/update0.4.sql +++ b/trunk/db/update0.4.sql @@ -105,7 +105,7 @@ ALTER TABLE `zt_action` ADD `extra` VARCHAR( 255 ) NOT NULL; UPDATE zt_action SET extra = substr( ACTION , 13 ) , ACTION = 'Resolved' WHERE ACTION LIKE 'Resolved%'; --20100210 adjust the reviewedDate -ALTER TABLE `zt_story` CHANGE `reviewedDate` `reviewedDate` DATE NOT NULL +ALTER TABLE `zt_story` CHANGE `reviewedDate` `reviewedDate` DATE NOT NULL; --20100220 action: convert the date from timestamp to datetime ALTER TABLE `zt_action` ADD `datetmp` VARCHAR( 255 ) NOT NULL AFTER `date`;