-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Hello, First, Regarding the use of a different schema every year, you can set the default schema using |
Beta Was this translation helpful? Give feedback.
Hello,
First,
quarkus.hibernate-orm.database.generation=update
is not intended for production. Use at your own risks. You should use Flyway/Liquibase instead.Regarding the use of a different schema every year, you can set the default schema using
quarkus.hibernate-orm.database.default-schema
. The schema generation feature should take that into account.If you need to migrate data from one schema to the next, however, that'll have to be done manually (or, again, use Flyway/Liquibase).