mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 18:48:41 +00:00
fix(db): add some keys for problems
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ff41b8761f
commit
44d308f47c
@ -623,7 +623,9 @@ CREATE TABLE `problems` (
|
|||||||
`submit_num` int(11) NOT NULL DEFAULT '0',
|
`submit_num` int(11) NOT NULL DEFAULT '0',
|
||||||
`assigned_to_judger` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'any',
|
`assigned_to_judger` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'any',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `assigned_to_judger` (`assigned_to_judger`)
|
KEY `assigned_to_judger` (`assigned_to_judger`),
|
||||||
|
KEY `uploader` (`uploader`),
|
||||||
|
KEY `is_hidden` (`is_hidden`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci TABLESPACE `innodb_system`;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci TABLESPACE `innodb_system`;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user