def run_migrations_offline():
    url = acoustid_config.database.create_url()
    context.configure(
        url=url, target_metadata=target_metadata, literal_binds=True,
        include_object=include_object)

    with context.begin_transaction():
        context.run_migrations()
Run migrations in 'offline' mode.
dataset/ETHPy150Open lalinsky/acoustid-server/alembic/env.py/run_migrations_offline