-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdb.sql
65 lines (56 loc) · 2.23 KB
/
db.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
CREATE TABLE `t_order_2022_1`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2022_2`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2022_3`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2022_4`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2023_1`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2023_2`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2023_3`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `t_order_2023_4`
(
`id` bigint(20) unsigned NOT NULL COMMENT '主键',
`order_code` varchar(32) DEFAULT NULL COMMENT '订单号',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;