mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 09:38:42 +00:00
style(web): disable hack by default
Users rarely use hack, but it is enabled by default. They need to disable it manually, and there are also many people do not now why should disable it. Make the hack function disabled when creating a new problem.
This commit is contained in:
parent
96d4a3ecf7
commit
c603c41e00
@ -256,7 +256,7 @@ CREATE TABLE IF NOT EXISTS `problems` (
|
|||||||
`title` text NOT NULL,
|
`title` text NOT NULL,
|
||||||
`is_hidden` tinyint(1) NOT NULL DEFAULT '0',
|
`is_hidden` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`submission_requirement` text,
|
`submission_requirement` text,
|
||||||
`hackable` tinyint(1) NOT NULL DEFAULT '1',
|
`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,
|
||||||
`ac_num` int(11) NOT NULL DEFAULT '0',
|
`ac_num` int(11) NOT NULL DEFAULT '0',
|
||||||
|
Loading…
Reference in New Issue
Block a user