Skip to content

test alembic upgrade/downgrade in gitlab CI against postgres 10

Dan Crosta requested to merge test-alembic-upgrade into master

Using a clean postgres 10 DB, this new build tests alembic upgrade head, alembic downgrade base (which should leave an empty database), then alembic upgrade head. This sequence should ensure that both the upgrade path applies cleanly, and that the downgrade path removes everything. (If anyone knows of a good way to verify that a particular postgres DB is empty, that would be a nice addition, too)

Closes #59 (closed)

Edited by Dan Crosta

Merge request reports