code: def run_migrations_online():
      
      botconfig = configparser.ConfigParser(interpolation=configparser.ExtendedInterpolation())
      config_path = config.get_main_option('bot_config_path', join(dirname(__file__), '../..'))
      with open(join(config_path, 'config.cfg')) as f:
          botconfig.read_file(f)
      url = botconfig['db']['engine']
  
      connectable = create_engine(url)
      with connectable.connect() as connection:
          context.configure(connection=connection, target_metadata=target_metadata, render_as_batch=True)
  
          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.