mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 07:38:42 +00:00
fix(db): default zan
value
This commit is contained in:
parent
4957f3aaea
commit
ebdd8f2208
@ -482,7 +482,7 @@ CREATE TABLE `problems` (
|
|||||||
`submission_requirement` text,
|
`submission_requirement` text,
|
||||||
`hackable` tinyint(1) NOT NULL DEFAULT '0',
|
`hackable` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`extra_config` varchar(500) NOT NULL DEFAULT '{"view_content_type":"ALL","view_details_type":"ALL"}',
|
`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',
|
`ac_num` int(11) NOT NULL DEFAULT '0',
|
||||||
`submit_num` int(11) NOT NULL DEFAULT '0',
|
`submit_num` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
|
Loading…
Reference in New Issue
Block a user