Skip to content

Commit

Permalink
Merge pull request #37 from hotungkhanh/np-000/db-update-mode
Browse files Browse the repository at this point in the history
NP-000 Modify database generation mode to update
  • Loading branch information
FlyingPufferFish authored Oct 8, 2024
2 parents 3507b4f + f6a000b commit f428255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ quarkus.datasource.password = ${QUARKUS_DATASOURCE_PASSWORD}
quarkus.datasource.jdbc.url = ${QUARKUS_DATASOURCE_JDBC_URL}

# drop and create the database at startup (use `update` to only update the schema)
quarkus.hibernate-orm.database.generation = create-drop
quarkus.hibernate-orm.database.generation = update

# transaction timeout
quarkus.transaction-manager.default-transaction-timeout=320s
Expand Down

0 comments on commit f428255

Please sign in to comment.