fix(db): default zan value

This commit is contained in:
Baoshuo Ren 2022-03-20 17:13:34 +08:00
parent 4957f3aaea
commit ebdd8f2208
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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`)