code: def run_migrations_online():
      
      app_conf = dci_config.generate_conf()
      connectable = dci_config.get_engine(app_conf)
      with connectable.connect() as connection:
          context.configure(
              connection=connection,
              target_metadata=target_metadata,
          )
  
          with context.begin_transaction():
              context.run_migrations()
docs: Run migrations in 'online' mode.
  
      In this scenario we need to create an Engine
      and associate a connection with the context.