- 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
16 lines
611 B
SQL
16 lines
611 B
SQL
CREATE TABLE `zt_kanbancell` (
|
|
`id` int(8) NOT NULL AUTO_INCREMENT,
|
|
`kanban` mediumint(8) NOT NULL,
|
|
`lane` mediumint(8) NOT NULL,
|
|
`column` mediumint(8) NOT NULL,
|
|
`type` char(30) NOT NULL,
|
|
`cards` text NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `card_group` (`kanban`,`type`,`lane`,`column`)
|
|
) ENGINE=MyISAM;
|
|
|
|
ALTER TABLE `zt_kanban` ADD `displayCards` smallint(6) NOT NULL default '0' AFTER `order`;
|
|
ALTER TABLE `zt_project` ADD `displayCards` smallint(6) NOT NULL default '0' AFTER `order`;
|
|
|
|
UPDATE `zt_grouppriv` SET `method` = 'taskKanban' WHERE `module` = 'execution' AND `method` = 'kanban';
|