From f3cf970aadf250089c3ebdc6d37d90363873d424 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Fri, 23 Dec 2022 21:29:05 +0800 Subject: [PATCH] fix(db): upgrades table default value --- db/app_uoj233.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/db/app_uoj233.sql b/db/app_uoj233.sql index 9fb0e3a..12b362a 100644 --- a/db/app_uoj233.sql +++ b/db/app_uoj233.sql @@ -979,6 +979,17 @@ CREATE TABLE `upgrades` ( LOCK TABLES `upgrades` WRITE; /*!40000 ALTER TABLE `upgrades` DISABLE KEYS */; +INSERT INTO `upgrades` (`name`, `status`, `updated_at`) VALUES + ('3_parsedown', 'up', now()), + ('4_image_hosting', 'up', now()), + ('6_user_info_v2', 'up', now()), + ('8_group_v2', 'up', now()), + ('9_list_v2', 'up', now()), + ('14_sync_from_uoj.ac', 'up', now()), + ('16_list_v3', 'up', now()), + ('18_user_permissions', 'up', now()), + ('20_problem_difficulty', 'up', now()), + ('21_problem_difficulty', 'up', now()); /*!40000 ALTER TABLE `upgrades` ENABLE KEYS */; UNLOCK TABLES;