Skip to content

Add property to recreate DB on given special profile

Martin Lowe requested to merge autumnfound-patch-1 into master

The idea with this PR is to give an easy way we can trigger a rebuild of the DB through the service on remote pods/environments. All that would need to be done to enable the profile is to export QUARKUS_PROFILE=dbfresh or set that environment variable and start the server. After completion, the variable can be cleared, and the DB restarted in the normal profile for standard operation.

While DDL exports are ideal, they can be a little messy with how Hibernate generates and manages tables.

Merge request reports