Ligare.database.migrations.alembic.env

Alembic integrations with Ligare.programming, Ligare.AWS, and Ligare.database.

Functions

get_migration_config([config_filename])

run_migrations(bases[, config_filename])

run_migrations_with_config(bases, config)

set_up_database(engine[, down_revision, ...])

Ligare.database.migrations.alembic.env.get_migration_config(config_filename=None)[source]
Ligare.database.migrations.alembic.env.run_migrations(bases, config_filename=None)[source]
Ligare.database.migrations.alembic.env.run_migrations_with_config(bases, config)[source]
Ligare.database.migrations.alembic.env.set_up_database(engine, down_revision='base', up_revision='head', config_filename='alembic.ini')[source]
Return type:

_trans_ctx