Skip to content

Commit

Permalink
[SWM-412] Refactor: hibernate ddl auto to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
D-w-nJ committed Dec 13, 2023
1 parent 28b7aa2 commit aee1e41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spring:
suffix: .html
jpa:
hibernate:
ddl-auto: none
ddl-auto: validate
properties:
hibernate:
database-platform: org.hibernate.dialect.MariaDB1011Dialect
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -24,7 +24,7 @@ spring:
suffix: .html
jpa:
hibernate:
ddl-auto: none
ddl-auto: create
properties:
hibernate:
database-platform: org.hibernate.dialect.MariaDB1011Dialect
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spring:
suffix: .html
jpa:
hibernate:
ddl-auto: none
ddl-auto: validate
properties:
hibernate:
database-platform: org.hibernate.dialect.MariaDB1011Dialect
Expand Down

0 comments on commit aee1e41

Please sign in to comment.