* change the update sql.
This commit is contained in:
+2
-1
@@ -64,7 +64,8 @@ ALTER TABLE `zt_story` ADD `reviewedBy` VARCHAR( 30 ) NOT NULL AFTER `lastEdited
|
||||
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 = 'active' WHERE status = 'wait' OR status = 'doing';
|
||||
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';
|
||||
ALTER TABLE `zt_story` ADD `toBug` MEDIUMINT NOT NULL AFTER `closedReason`;
|
||||
ALTER TABLE `zt_story` ADD `childStories` VARCHAR( 255 ) NOT NULL AFTER `toBug` ,
|
||||
|
||||
Reference in New Issue
Block a user