* fix bug for sql.

This commit is contained in:
wangyidong
2015-11-17 10:53:58 +08:00
parent e17126e526
commit 6fe166a8f5
+1 -1
View File
@@ -25,7 +25,7 @@ CREATE TABLE IF NOT EXISTS `zt_storystage` (
`stage` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `zt_story` ADD INDEX `product` (`product`, `module`, `type`, `pri`), DROP INDEX `product`;
ALTER TABLE `zt_story` ADD `plan` text COLLATE 'utf8_general_ci' NOT NULL AFTER `module`;
ALTER TABLE `zt_story` CHANGE `plan` `plan` text COLLATE 'utf8_general_ci' NOT NULL AFTER `module`;
UPDATE `zt_story` SET `plan`='' WHERE `plan`='0';
ALTER TABLE `zt_release` DROP INDEX `name`;