def run_migrations_online():
    connectable = acoustid_config.database.create_engine(poolclass=pool.NullPool)

    with connectable.connect() as connection:
        context.configure(
            connection=connection,
            target_metadata=target_metadata,
            include_object=include_object,
        )

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