From ebdd8f2208ecded4de2fabffe4b122a78a8a810e Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 20 Mar 2022 17:13:34 +0800 Subject: [PATCH] fix(db): default `zan` value --- db/app_uoj233.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/app_uoj233.sql b/db/app_uoj233.sql index 8d75f70..c9888a8 100644 --- a/db/app_uoj233.sql +++ b/db/app_uoj233.sql @@ -482,7 +482,7 @@ CREATE TABLE `problems` ( `submission_requirement` text, `hackable` tinyint(1) NOT NULL DEFAULT '0', `extra_config` varchar(500) NOT NULL DEFAULT '{"view_content_type":"ALL","view_details_type":"ALL"}', - `zan` int(11) NOT NULL, + `zan` int(11) NOT NULL DEFAULT '0', `ac_num` int(11) NOT NULL DEFAULT '0', `submit_num` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`)