From f6a000b42a03296292de33527f9e31a0560b5440 Mon Sep 17 00:00:00 2001 From: Eden Xu <130119691+FlyingPufferFish@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:48:40 +1100 Subject: [PATCH] build(database): modify db generation to be in `update` mode --- backend/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index cf27fd9..33e9ae2 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -15,7 +15,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