pull/882/head
chanhengseang 2025-05-17 16:44:53 -07:00
parent 605e396be9
commit 9a1a0e3657
3 changed files with 14 additions and 1 deletions

View File

@ -46,10 +46,16 @@ spring:
# 记录慢SQL
log-slow-sql: true
slow-sql-millis: 2000
merge-sql: true
merge-sql: false
wall:
config:
multi-statement-allow: true
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: true
validate-on-migrate: false
encoding: UTF-8
# 登录相关配置
login:

View File

@ -0,0 +1 @@
select 1 from dual;

View File

@ -222,6 +222,12 @@
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<!-- Flyway MySQL support -->
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
</dependency>
</dependencies>
<build>