1.0 sql初始化

Raod 2 years ago
parent 435d813611
commit 237820b2db

@ -17,8 +17,11 @@
- 2.插入一条数据到flyway_schema_history表中sql如下 - 2.插入一条数据到flyway_schema_history表中sql如下
``` ```
INSERT INTO `aj_report`.`flyway_schema_history`(`installed_rank`, `version`, `description`, `type`, `script`, `checksum`, `installed_by`, `installed_on`, `execution_time`, `success`) truncate table aj_report.flyway_schema_history;
VALUES (25, '1.0.0', 'init', 'SQL', 'V1.0.0__init.sql', 166872711, 'root', '2023-01-10 07:31:07', 70, 1);
INSERT INTO aj_report.flyway_schema_history (installed_rank, version, description, type, script, checksum, installed_by, installed_on, execution_time, success)
VALUES (1, '1.0.0', 'init', 'SQL', 'V1.0.0__init.sql', -1762151859, 'root', '2023-05-05 15:39:07', 588, 1);
``` ```
- 3.将配置项bootstrap.yml中的flyway改为true - 3.将配置项bootstrap.yml中的flyway改为true

Loading…
Cancel
Save