Files
EasySoft-ZenTaoPMS/db/update11.2.sql
T
liugang d0b5ddb807 * [refac] Remove explicit charset and collation declarations from SQL files
- Remove DEFAULT CHARSET declarations from all SQL table definitions
- Strip COLLATE clauses from field definitions across all database scripts
- Simplify ENGINE declarations by removing redundant charset specifications
- Standardize SQL statement formatting for improved database compatibility
- Affects all database update scripts from version 0.1 to 21.7.6
2025-11-24 09:48:10 +08:00

8 lines
604 B
SQL

update `zt_build` set `deleted`='1' where `project`='0' and `id` in (select `build` from `zt_release` where `deleted`='1');
ALTER TABLE `zt_productplan` ADD `parent` mediumint(9) NOT NULL DEFAULT '0' AFTER `branch`;
ALTER TABLE `zt_action` CHANGE `actor` `actor` varchar(100) NOT NULL DEFAULT '' AFTER `project`;
ALTER TABLE `zt_user` ADD `weixin` varchar(90) NOT NULL AFTER `phone`;
ALTER TABLE `zt_user` ADD `dingding` varchar(90) NOT NULL AFTER `weixin`;
ALTER TABLE `zt_user` ADD `slack` varchar(90) NOT NULL AFTER `dingding`;
ALTER TABLE `zt_user` ADD `whatsapp` varchar(90) NOT NULL AFTER `slack`;