Skip to content
Discussion options

You must be logged in to vote

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).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Paul6552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/persistence OBSOLETE, DO NOT USE area/hibernate-orm Hibernate ORM
2 participants