From 7d051e3ed03f26d2b3777eafdafa6e827cf8f9be Mon Sep 17 00:00:00 2001
From: Chenhj <chenhj@tajansoft.com>
Date: 星期日, 25 五月 2025 00:42:47 +0800
Subject: [PATCH] 数据库迁移工具引入

---
 ruoyi-admin/src/main/resources/application.yml.example |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml.example b/ruoyi-admin/src/main/resources/application.yml.example
index 19ac6f5..a173945 100644
--- a/ruoyi-admin/src/main/resources/application.yml.example
+++ b/ruoyi-admin/src/main/resources/application.yml.example
@@ -7,7 +7,7 @@
   # 鐗堟潈骞翠唤
   copyrightYear: 2025
   # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
-  profile: C:/Users/12631/Desktop/download
+  profile: D:/Backup/妗岄潰/download
   # 鑾峰彇ip鍦板潃寮�鍏�
   addressEnabled: false
   # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
@@ -89,11 +89,13 @@
           # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
           max-wait: -1ms
   flyway:
-    enabled: true # 鍚姩杩佺Щ
-    baseline-on-migrate: true # 濡傛灉鏁版嵁搴撲腑娌℃湁杩佺Щ鑴氭湰锛屽垯杩涜鍒濆鍖�
+    enabled: true
+    baseline-on-migrate: true
     baseline-version: 20230720000000
-    out-of-order: true
     clean-disabled: true
+    #鎸囧畾sql鏂囦欢璺緞
+    locations:
+      - classpath:db/migration/postgresql
 
 # token閰嶇疆
 token:

--
Gitblit v1.9.3