Use liquibase to deploy schema changes in api server #774
Labels
component/api-server
enhancement
New feature or request
p3
Nice-to-have features
proposal
size/M
Medium effort
Since we are supporting only Postgres database now, we can look at liquibase to deploy schema changes. It will help with better versioning of database changes, keeping it always in sync with the application.
All schema changes should be backported to changelog.yaml. When application starts, liquibase will apply all the changes in changelog file to database so we need checks that changeset is not executed if database object already exists. Alternative is to let it fail and mark the changeset as already executed.
The text was updated successfully, but these errors were encountered: