Skip to content

Commit

Permalink
Set JPA Hibernate to Auto to make database automatically sync (#14)
Browse files Browse the repository at this point in the history
Set JPA Hibernate to Auto to make database automatically sync with changes to entities
  • Loading branch information
mechakdotdev authored Oct 2, 2024
1 parent 2228ac8 commit 4011b05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ spring.jpa.properties.hibernate.globally_quoted_identifiers_skip_column_definiti
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:mem:db
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.open-in-view=false
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect

server.port=5001

0 comments on commit 4011b05

Please sign in to comment.