* [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
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS `zt_userview` (
|
||||
`products` text NOT NULL,
|
||||
`projects` text NOT NULL,
|
||||
UNIQUE KEY `account` (`account`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
ALTER TABLE `zt_entry` ADD `account` VARCHAR(30) NOT NULL DEFAULT '' AFTER `code`;
|
||||
UPDATE `zt_doc` set editedDate=addedDate, editedBy=addedBy where editedBy = '';
|
||||
|
||||
Reference in New Issue
Block a user