From 5505368dfe8c9eed255f55fe01e4d08a6ab455e6 Mon Sep 17 00:00:00 2001 From: qianming Date: Fri, 16 Jul 2021 10:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=80=E5=BC=A0=E7=89=A9?= =?UTF-8?q?=E6=B5=81=E5=A4=A7=E5=B1=8F=E5=92=8C=E7=9B=B8=E5=85=B3=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/migration/V1.0.4__create_table.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/report-core/src/main/resources/db/migration/V1.0.4__create_table.sql b/report-core/src/main/resources/db/migration/V1.0.4__create_table.sql index 717919e9..8378828c 100644 --- a/report-core/src/main/resources/db/migration/V1.0.4__create_table.sql +++ b/report-core/src/main/resources/db/migration/V1.0.4__create_table.sql @@ -3,6 +3,7 @@ */ use aj_report_init; +drop table if exists `aj_report_common2`; CREATE TABLE `aj_report_common2` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, @@ -16,6 +17,7 @@ INSERT INTO `aj_report_init`.`aj_report_common2`(`name`, `nums`) VALUES ('西安 INSERT INTO `aj_report_init`.`aj_report_common2`(`name`, `nums`) VALUES ('河南', 50); INSERT INTO `aj_report_init`.`aj_report_common2`(`name`, `nums`) VALUES ('武汉', 20); +drop table if exists `aj_report_common3`; CREATE TABLE `aj_report_common3` ( `id` int(11) NOT NULL AUTO_INCREMENT, `time` varchar(255) DEFAULT NULL, @@ -37,6 +39,7 @@ INSERT INTO `aj_report_init`.`aj_report_common3`(`time`, `collect`, `start`) VAL INSERT INTO `aj_report_init`.`aj_report_common3`(`time`, `collect`, `start`) VALUES ('11月', 35, 34); INSERT INTO `aj_report_init`.`aj_report_common3`(`time`, `collect`, `start`) VALUES ('12月', 27, 23); +drop table if exists `aj_report_table`; CREATE TABLE `aj_report_table` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` date DEFAULT NULL, @@ -54,6 +57,7 @@ INSERT INTO `aj_report_init`.`aj_report_table`(`date`, `name`, `code`, `address` INSERT INTO `aj_report_init`.`aj_report_table`(`date`, `name`, `code`, `address`) VALUES ('2021-05-06', '上汽运输', 'A00000006', '这是一条测试表格事件6'); INSERT INTO `aj_report_init`.`aj_report_table`(`date`, `name`, `code`, `address`) VALUES ('2021-05-07', '上汽大众', 'A00000007', '这是一条测试表格事件7'); +drop table if exists `aj_report_nums`; CREATE TABLE `aj_report_nums` ( `id` int(11) NOT NULL AUTO_INCREMENT, `inter` int(11) DEFAULT NULL,