mirror of https://github.com/elunez/eladmin
commit 1
parent
605e396be9
commit
9a1a0e3657
|
@ -46,10 +46,16 @@ spring:
|
||||||
# 记录慢SQL
|
# 记录慢SQL
|
||||||
log-slow-sql: true
|
log-slow-sql: true
|
||||||
slow-sql-millis: 2000
|
slow-sql-millis: 2000
|
||||||
merge-sql: true
|
merge-sql: false
|
||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
|
flyway:
|
||||||
|
enabled: true
|
||||||
|
locations: classpath:db/migration
|
||||||
|
baseline-on-migrate: true
|
||||||
|
validate-on-migrate: false
|
||||||
|
encoding: UTF-8
|
||||||
|
|
||||||
# 登录相关配置
|
# 登录相关配置
|
||||||
login:
|
login:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
select 1 from dual;
|
6
pom.xml
6
pom.xml
|
@ -222,6 +222,12 @@
|
||||||
<artifactId>javax.inject</artifactId>
|
<artifactId>javax.inject</artifactId>
|
||||||
<version>1</version>
|
<version>1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Flyway MySQL support -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.flywaydb</groupId>
|
||||||
|
<artifactId>flyway-mysql</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
Loading…
Reference in New Issue