Closed SpacemanPaul closed 6 months ago
Attention: 47 lines
in your changes are missing coverage. Please review.
Comparison is base (
5be0e6e
) 85.37% compared to head (bd72270
) 85.16%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Reason for this pull request
The database schema for the postgres database has been frozen for years because making schema changes requires manually writing code to check whether an update is required and applying said update.
Alembic is a schema migration framework for SQLAlchemy that automates much of this.
Proposed changes
datacube system init
for the postgis index driver now uses Alembic to detect what schema upgrades are required and apply them.N.B. Some remaining coverage gaps that can't really be filled until we have some actual migrations lined up.
docs/about/whats_new.rst
for all changes