Skip to content

Commit ce416da

Browse files
committed
feat(初始化分区): 自动初始化分区
1 parent 7778f1e commit ce416da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql8/initdb/100-init-partition-table.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
USE maintain;
2+
CALL create_partition_by_month('maintain', 'jtt808_position');
3+
CALL create_partition_by_month('maintain', 'jtt808_alarm');
4+
15
USE cbus;
26
CALL create_partition_by_month('gps', 'device_position');
37
CALL create_partition_by_month('gps', 'device_depart_arrive');

0 commit comments

Comments
 (0)