Skip to content

Commit

Permalink
Merge pull request #44 from mpbauer/fix/replace-deprecated-spring-dat…
Browse files Browse the repository at this point in the history
…a-source-initialize-prop

Replace deprecated property 'spring.datasource.initialize'
  • Loading branch information
arey authored Feb 6, 2021
2 parents 151b306 + 264e768 commit f97f1d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-mysql.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# uncomment for init database (first start)
#spring.datasource.initialize=true
#spring.datasource.initialization-mode=always
#spring.datasource.schema=classpath*:db/mysql/initDB.sql
#spring.datasource.data=classpath*:db/mysql/populateDB.sql

Expand All @@ -13,4 +13,4 @@ spring.jpa.database=MYSQL
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
spring.jpa.hibernate.ddl-auto=none
#----------------------------------------------------------------
# MySQL config end
# MySQL config end
4 changes: 2 additions & 2 deletions src/main/resources/application-postgresql.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# uncomment for init database (first start)
#spring.datasource.initialize=true
#spring.datasource.initialization-mode=always
#spring.datasource.schema=classpath*:db/postgresql/initDB.sql
#spring.datasource.data=classpath*:db/postgresql/populateDB.sql

Expand All @@ -13,4 +13,4 @@ spring.jpa.database=POSTGRESQL
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=none
#----------------------------------------------------------------
# PostgreSQL config end
# PostgreSQL config end

0 comments on commit f97f1d4

Please sign in to comment.