code: 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.
  
      """
      # If available, use a shared connection for the database upgrade, ensuring that any
      # connection-dependent state (e.g., the state of an in-memory database) is preserved
      # for reference by the upgrade routine. For more information, see
      # https://alembic.sqlalchemy.org/en/latest/cookbook.html#sharing-a-
      # connection-with-a-series-of-migration-commands-and-environments
      connection = config.attributes.get("connection")
      if connection is None:
          engine = engine_from_config(
              config.get_section(config.config_ini_section),
              prefix="sqlalchemy.",
              poolclass=pool.NullPool,
          )
      else:
          engine = connection.engine
  
      with engine.connect() as connection:
          context.configure(
              connection=connection,
              target_metadata=target_metadata,
              render_as_batch=True,
          )
  
          with context.begin_transaction():
              context.run_migrations()
  
imports: from logging.config import fileConfig
  from sqlalchemy import engine_from_config
  from sqlalchemy import pool
  from alembic import context
  from mlflow.store.db.base_sql_model import Base
label_desc: Use image node_id 2 for calling a global function with example usage: run_migrations_online() without return types