wulianwei 1 year ago
parent
commit
b5ea258b08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/application.yml

+ 1 - 1
src/main/resources/application.yml

@@ -159,7 +159,7 @@ spring:
     clean-disabled: true
     locations: classpath:db/migration
     #迁移时是否校验,默认为true.
-    validate-on-migrate: true
+    validate-on-migrate: false
     # 如果数据库不是空表,需要设置成 true,否则启动报错
     baseline-on-migrate: true
   redis: