diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 256c51e8..917f3698 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -23,7 +23,7 @@ spring: suffix: .html jpa: hibernate: - ddl-auto: none + ddl-auto: validate properties: hibernate: database-platform: org.hibernate.dialect.MariaDB1011Dialect diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index dbee4ccb..72c2888f 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -12,7 +12,7 @@ spring: profiles: active: local datasource: - url: 'jdbc:mariadb://localhost:3306/sroom' + url: 'jdbc:mariadb://localhost:3306/sr' username: 'root' password: #driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy @@ -24,7 +24,7 @@ spring: suffix: .html jpa: hibernate: - ddl-auto: none + ddl-auto: create properties: hibernate: database-platform: org.hibernate.dialect.MariaDB1011Dialect diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 92ad4e41..afb664e5 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -23,7 +23,7 @@ spring: suffix: .html jpa: hibernate: - ddl-auto: none + ddl-auto: validate properties: hibernate: database-platform: org.hibernate.dialect.MariaDB1011Dialect