* [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:
+2
-2
@@ -26,7 +26,7 @@ CREATE TABLE `zt_storygrade` (
|
||||
`grade` smallint NOT NULL,
|
||||
`name` char(30) NOT NULL,
|
||||
`status` char(30) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
INSERT INTO `zt_storygrade` (`type`, `grade`, `name`, `status`) VALUES
|
||||
('requirement', 1, 'UR', 'enable'),
|
||||
@@ -117,6 +117,6 @@ CREATE TABLE `zt_pivotdrill` (
|
||||
`object` varchar(40) NOT NULL,
|
||||
`whereSql` mediumtext NOT NULL,
|
||||
`condition` mediumtext NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
ALTER TABLE `zt_extension` MODIFY `zentaoCompatible` text NULL;
|
||||
|
||||
Reference in New Issue
Block a user