mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:48:41 +00:00
style(web): merge contests_asks table into main sql file
The web interface is merged but the table is not. Merge it into a single SQL file, without execute PHP. Redumped database structure with mysqldump command.
This commit is contained in:
parent
50f26075ac
commit
f72d0fda6c
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
alter table contests_asks drop column is_hidden;
|
@ -1,9 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `contests_asks` (
|
||||
`id` int(11) NOT NULL primary key AUTO_INCREMENT,
|
||||
`contest_id` int(11) NOT NULL,
|
||||
`username` varchar(20) NOT NULL,
|
||||
`question` text NOT NULL,
|
||||
`answer` text NOT NULL,
|
||||
`post_time` datetime NOT NULL,
|
||||
`reply_time` datetime NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
@ -1 +0,0 @@
|
||||
drop table `contests_asks`;
|
@ -1 +0,0 @@
|
||||
alter table contests_asks add is_hidden boolean default false;
|
Loading…
Reference in New Issue
Block a user