glance.db.sqlalchemy.alembic_migrations package

Submodules

glance.db.sqlalchemy.alembic_migrations.add_artifacts_tables module

glance.db.sqlalchemy.alembic_migrations.add_artifacts_tables.upgrade()[source]

glance.db.sqlalchemy.alembic_migrations.add_images_tables module

glance.db.sqlalchemy.alembic_migrations.add_images_tables.upgrade()[source]

glance.db.sqlalchemy.alembic_migrations.add_metadefs_tables module

glance.db.sqlalchemy.alembic_migrations.add_metadefs_tables.upgrade()[source]

glance.db.sqlalchemy.alembic_migrations.add_tasks_tables module

glance.db.sqlalchemy.alembic_migrations.add_tasks_tables.upgrade()[source]

glance.db.sqlalchemy.alembic_migrations.env module

Module contents

glance.db.sqlalchemy.alembic_migrations.get_alembic_branch_head(branch)[source]

Return head revision name for particular branch

glance.db.sqlalchemy.alembic_migrations.get_alembic_config(engine=None)[source]

Return a valid alembic config object

glance.db.sqlalchemy.alembic_migrations.get_current_alembic_heads()[source]

Return current heads (if any) from the alembic migration table

glance.db.sqlalchemy.alembic_migrations.get_current_legacy_head()[source]
glance.db.sqlalchemy.alembic_migrations.is_database_under_alembic_control()[source]
glance.db.sqlalchemy.alembic_migrations.is_database_under_migrate_control()[source]
glance.db.sqlalchemy.alembic_migrations.place_database_under_alembic_control()[source]