cryostatio / cryostat

Secure JDK Flight Recorder management for containerized JVMs
https://cryostat.io
Other
12 stars 9 forks source link

[Request] Database initialization and migration #549

Closed andrewazores closed 1 month ago

andrewazores commented 3 months ago

Describe the feature

Related to https://github.com/cryostatio/cryostat-operator/issues/814

Once the postgres database is deployed separately and it has its own lifecycle, the database should be initialized using SQL scripts rather than by Hibernate's drop-and-create schema. We should also use some tool, such as Flyway, to facilitate database schema upgrades for future versions.

Anything other information?

No response