Merge pull request #11979 from everyx/develop

fix: `PRIMARY KEY must be NOT NULL` error when install with MySQL 5.7+
This commit is contained in:
mergify[bot] 2020-12-10 12:55:27 +00:00 committed by GitHub
commit ff3148dbd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ CREATE TABLE `tabDocType` (
DROP TABLE IF EXISTS `tabSeries`;
CREATE TABLE `tabSeries` (
`name` varchar(100) DEFAULT NULL,
`name` varchar(100),
`current` int(10) NOT NULL DEFAULT 0,
PRIMARY KEY(`name`)
) ENGINE=InnoDB ROW_FORMAT=COMPRESSED CHARACTER SET=utf8mb4 COLLATE=utf8mb4_unicode_ci;