Change spring.datasource.initialize to spring.datasource.initialization-mode`

Initialize property has changed in Spring Boot 2 M6
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M6-Release-Notes#datasource-initialization
This commit is contained in:
Ray Tsang 2018-02-05 19:19:38 +01:00 committed by GitHub
parent 6730a229a0
commit 6ee6771e8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,5 +3,5 @@ database=mysql
spring.datasource.url=jdbc:mysql://localhost/test
spring.datasource.username=root
spring.datasource.password=root
# Uncomment this the first time the app runs
# spring.datasource.initialize=true
# Uncomment this the first time the app runs
# spring.datasource.initialization-mode=always