From 79ca9b3b02dd43d3998ba6e8f60aa65f271a53bd Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Mon, 9 Sep 2024 14:51:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ASW-62=20Environment=20session=20?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E6=8D=95=E5=8C=85=E6=8E=A5=E5=8F=A3=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d7a9634..5348fef 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -28,7 +28,7 @@ spring: baseline-on-migrate: true # 连接数据库中存在表时设置为true locations: classpath:db/migration # 脚本路径 clean-disabled: false # flyway 的 clean 命令会删除指定 schema 下的所有 table, 生产务必禁掉。这个默认值是 false 理论上作为默认配置是不科学的 - validate-on-migrate: false # 执行迁移时是否自动调用验证 当你的 版本不符合逻辑 比如 你先执行了 DML 而没有 对应的DDL 会抛出异常 + validate-on-migrate: true # 执行迁移时是否自动调用验证 当你的 版本不符合逻辑 比如 你先执行了 DML 而没有 对应的DDL 会抛出异常 placeholder-replacement: false # 不做取值替换 默认替换为 ${} ,初始化sql中有sql语句存在freemarker替换,所以禁用此项 servlet: multipart: @@ -73,4 +73,4 @@ mybatis-plus: banner: false logging: - config: D:\IdeaProjects\asw-controller\src\main\resources\config\logback-spring.xml \ No newline at end of file + config: ./config/logback-spring.xml \ No newline at end of file