update12.4.4.sql 1.3 KB

12345678910111213141516171819
  1. ALTER TABLE `zt_job` ADD `customParam` text AFTER `atTime`;
  2. ALTER TABLE `zt_doc` ADD `mailto` text AFTER `editedDate`;
  3. ALTER TABLE `zt_task` CHANGE `realStarted` `realStarted` datetime NOT NULL AFTER `estStarted`;
  4. ALTER TABLE `zt_user` ADD `type` char(30) NOT NULL default 'inside' AFTER `account`;
  5. ALTER TABLE `zt_notify` ADD INDEX `objectType_toList_status` (`objectType`, `toList`, `status`);
  6. ALTER TABLE `zt_user` ADD INDEX `deleted` (`deleted`);
  7. ALTER TABLE `zt_case` ADD INDEX `fromBug` (`fromBug`);
  8. ALTER TABLE `zt_bug` ADD INDEX `toStory` (`toStory`);
  9. ALTER TABLE `zt_task` ADD INDEX `parent` (`parent`);
  10. ALTER TABLE `zt_bug` ADD INDEX `result` (`result`);
  11. ALTER TABLE `zt_history` ADD INDEX `action` (`action`);
  12. ALTER TABLE `zt_action` ADD INDEX `action` (`action`);
  13. ALTER TABLE `zt_action` DROP INDEX `product`;
  14. REPLACE INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', '', 'CRProduct', '1');
  15. REPLACE INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', '', 'CRProject', '1');
  16. REPLACE INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', 'xuanxuan', 'pollingInterval', '60');
  17. REPLACE INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', 'xuanxuan', 'aes', 'on');