def run_migrations_online():
engine = engine_from_config(<EOL>config.get_section(config.config_ini_section),<EOL>prefix='<STR_LIT>',<EOL>poolclass=pool.NullPool<EOL>)<EOL>connection = engine.connect()<EOL>context.configure(<EOL>connection=connection,<EOL>target_metadata=target_metadata<EOL>)<EOL>try:<EOL><INDENT>with context.begin_transaction():<EOL><INDENT>context.run_migrations()<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>connection.close()<EOL><DEDENT>
Run migrations in 'online' mode.

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