فهرست منبع

1.0 sql初始化

Raod 2 سال پیش
والد
کامیت
237820b2db
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      doc/docs/guide/releases/1.0.0.md

+ 5 - 2
doc/docs/guide/releases/1.0.0.md

@@ -17,8 +17,11 @@
 - 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`)
-  VALUES (25, '1.0.0', 'init', 'SQL', 'V1.0.0__init.sql', 166872711, 'root', '2023-01-10 07:31:07', 70, 1);
+truncate table aj_report.flyway_schema_history;
+
+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