-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path数据库.txt
24 lines (23 loc) · 1.09 KB
/
数据库.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CREATE TABLE`history`(
`ds` datetime NOT NULL COMMENT '日期',
`confirm` int(11) DEFAULT NULL COMMENT '累计确诊',
`confirm_add` int(11) DEFAULT NULL COMMENT '当日新增确诊',
`suspect` int(11) DEFAULT NULL COMMENT '剩余疑似',
`suspect_add` int(11) DEFAULT NULL COMMENT '当日新增疑似',
`heal` int(11) DEFAULT NULL COMMENT '累计治愈',
`heal_add` int(11) DEFAULT NULL COMMENT '当日新增治愈',
`deal` int(11) DEFAULT NULL COMMENT '累计死亡',
`deal_add` int(11) DEFAULT NULL COMMENT '当日新增死亡',
PRIMARY KEY(`ds`) USING BTREE
)ENGINE=innoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `details`(
`id`int(11) NOT NULL AUTO_INCREMENT,
`update_time` datetime DEFAULT NULL COMMENT '数据最后更新时间',
`province` varchar(15) DEFAULT NULL COMMENT '省',
`city` varchar(15) DEFAULT NULL COMMENT '市',
`confirm` int(11) DEFAULT NULL COMMENT '累计确诊',
`confirm_add` int(11) DEFAULT NULL COMMENT '新增确诊',
`heal` int(11) DEFAULT NULL COMMENT '累计治愈',
`dead` int(11) DEFAULT NULL COMMENT '累计死亡',
PRIMARY KEY(`id`)
)ENGINE= INNODB DEFAULT CHARSET =utf8mb4;