* set the assignedTo field.

This commit is contained in:
wangchunsheng
2010-02-11 05:06:18 +00:00
parent 4a060ee2e8
commit 7ba615b531
+1 -1
View File
@@ -63,7 +63,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='released', closedBy = lastEditedBy, closedDate = lastEditedDate WHERE status = 'done';
UPDATE zt_story SET status = 'closed', closedReason = 'done', stage='released', closedBy = lastEditedBy, closedDate = lastEditedDate, assignedTo = 'closed' WHERE status = 'done';
UPDATE zt_story SET status = 'draft' WHERE status = 'wait';
UPDATE zt_story SET status = 'active' WHERE status = 'doing';
ALTER TABLE `zt_story` CHANGE `bug` `fromBug` MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0';