-
Notifications
You must be signed in to change notification settings - Fork 22
/
mysql.sql
33 lines (26 loc) · 859 Bytes
/
mysql.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
-- Adminer 4.2.1 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
SET NAMES utf8mb4;
DROP TABLE IF EXISTS `game`;
CREATE TABLE `game` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(20) DEFAULT NULL,
`project` varchar(20) DEFAULT NULL,
`type` varchar(20) DEFAULT NULL,
`data` float DEFAULT NULL,
`result` varchar(20) DEFAULT NULL,
`expect` varchar(20) DEFAULT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `lottery`;
CREATE TABLE `lottery` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`expect` int(1) DEFAULT NULL,
`opencode` int(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- 2018-12-15 07:17:25