Files
EasySoft-ZenTaoPMS/db/update11.6.5.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

13 lines
513 B
SQL

ALTER TABLE `zt_dept` CHANGE `order` `order` smallint(4) unsigned NOT NULL DEFAULT '0' AFTER `grade`;
CREATE TABLE IF NOT EXISTS `zt_oauth` (
`account` varchar(30) NOT NULL,
`openID` varchar(255) NOT NULL,
`providerType` varchar(30) NOT NULL,
`providerID` mediumint(8) unsigned NOT NULL,
KEY `account` (`account`),
KEY `providerType` (`providerType`),
KEY `providerID` (`providerID`)
) ENGINE=MyISAM;
ALTER TABLE `zt_product` ADD INDEX acl (`acl`);
ALTER TABLE `zt_project` ADD INDEX acl (`acl`);