mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-24 23:18:40 +00:00
13 lines
400 B
SQL
13 lines
400 B
SQL
CREATE TABLE `emails` (
|
|
`id` int UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`receiver` varchar(20) NOT NULL,
|
|
`subject` varchar(100) NOT NULL,
|
|
`content` text NOT NULL,
|
|
`created_at` datetime NOT NULL,
|
|
`send_time` datetime DEFAULT NULL,
|
|
`priority` int NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`id`),
|
|
KEY `send_time` (`send_time`),
|
|
KEY `priority` (`priority`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
|