assembl.lib.migration module¶
Basic infrastructure for alembic migration
-
assembl.lib.migration.
bootstrap_db
(config_uri, with_migration=True)[source]¶ Bring a blank database to a functional state.
-
assembl.lib.migration.
ensure_db_version
(config_uri, session_maker)[source]¶ Exit if database is not up-to-date.