From 03779d2a0849f1c88f42770094d67eb22c1ec7ff Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 8 Feb 2010 03:28:49 +0000 Subject: [PATCH] * fix the error of 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 17215492ea..0ba2c9b8b5 100644 --- a/trunk/db/update0.4.sql +++ b/trunk/db/update0.4.sql @@ -65,7 +65,7 @@ ALTER TABLE `zt_story` ADD `stage` VARCHAR( 30 ) NOT NULL AFTER `status`; ALTER TABLE `zt_story` ADD `reviewedBy` VARCHAR( 30 ) NOT NULL AFTER `lastEditedDate`; ALTER TABLE `zt_story` ADD `reviewedDate` DATETIME NOT NULL AFTER `reviewedBy`; UPDATE zt_story SET version = 1 WHERE version = 0; -UPDATE zt_story SET status = 'closed', closedReason = 'done', stage='relased' WHERE status = 'done'; +UPDATE zt_story SET status = 'closed', closedReason = 'done', stage='released' WHERE status = 'done'; UPDATE zt_story SET status = 'active' WHERE status = 'wait' OR status = 'doing'; ALTER TABLE `zt_story` CHANGE `bug` `fromBug` MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0'; ALTER TABLE `zt_story` ADD `toBug` MEDIUMINT NOT NULL AFTER `closedReason`;