AtlasOfLivingAustralia / logger-service

Atlas event logging
https://logger.ala.org.au
1 stars 8 forks source link

Added liquibase support adding #49 new indexes to changelog #51

Closed vjrj closed 2 years ago

vjrj commented 2 years ago

Following https://github.com/AtlasOfLivingAustralia/ala-install/pull/593 and #49 this PR adds liquibase support with the new indexes as sample in the changelog.

After boot logger with this PR, the changelog table shows that the indexes were added:

image

vjrj commented 2 years ago

I've just added https://github.com/AtlasOfLivingAustralia/logger-service/pull/51 as I had practice. This should not conflict with this PR as the liquibase changelogs check if the indexes are created or not previously.

Anyway one of the good things of using database migration tools like liquibase is that the db changes are associated with the code and releases. So if we modify some table, for instance, this database change is applied when this software is deployed, so software and db schema match.