update12.4.2.sql 483 B

12345678910
  1. update zt_story set `plan`='' where `plan`=0;
  2. ALTER TABLE `zt_compile` ADD `times` tinyint unsigned NOT NULL DEFAULT '0' AFTER `tag`;
  3. CREATE TABLE IF NOT EXISTS `zt_planstory` (
  4. `plan` mediumint(8) unsigned NOT NULL,
  5. `story` mediumint(8) unsigned NOT NULL,
  6. `order` mediumint(9) NOT NULL,
  7. UNIQUE KEY `plan_story` (`plan`,`story`)
  8. ) ENGINE=MyISAM;
  9. ALTER TABLE `zt_case` change `fromCaseVersion` `fromCaseVersion` mediumint(8) unsigned NOT NULL default '1' AFTER `fromCaseID`;