[Database] Minor adjustment to #3726 (#3732)

This commit is contained in:
JJ 2023-12-03 05:18:27 -10:00 committed by GitHub
parent cfbdecad19
commit 22994e3264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5089,7 +5089,7 @@ RENAME TABLE `starting_items_new` TO `starting_items`;
.description = "2023_11_30_items_table_schema.sql",
.check = "SHOW COLUMNS FROM `items` LIKE 'updated'",
.condition = "contains",
.match = "NULL",
.match = "0000-00-00 00:00:00",
.sql = R"(
ALTER TABLE `items` MODIFY COLUMN `updated` datetime NULL DEFAULT NULL;
)"