async def run_migrations_online():
    """Run migrations in 'online' mode.

    In this scenario we need to create an Engine
    and associate a connection with the context.

    """

    connectable = get_engine()

    async with connectable.connect() as connection:
        await connection.run_sync(do_run_migrations)
Run migrations in 'online' mode.

    In this scenario we need to create an Engine
    and associate a connection with the context.

    
src/flask_migrate/templates/aioflask/env.py