[Database] Change primary key entry to NOT NULL (#3559)

Needed for MySQL 8 compatibility.
This commit is contained in:
JJ 2023-08-20 16:36:51 -04:00 committed by GitHub
parent dc35ab5251
commit b5d23389ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4854,7 +4854,7 @@ UPDATE data_buckets SET bot_id = SUBSTRING_INDEX(SUBSTRING_INDEX( `key`, '-', 2
.sql = R"( .sql = R"(
CREATE TABLE `character_stats_record` ( CREATE TABLE `character_stats_record` (
`character_id` int NULL, `character_id` int NOT NULL,
`name` varchar(100) NULL, `name` varchar(100) NULL,
`status` int NULL DEFAULT 0, `status` int NULL DEFAULT 0,
`level` int NULL DEFAULT 0, `level` int NULL DEFAULT 0,