The oslo_db.sqlalchemy.migration_cli.ext_migrate Module

class oslo_db.sqlalchemy.migration_cli.ext_migrate.MigrateExtension(engine, migration_config)

Bases: oslo_db.sqlalchemy.migration_cli.ext_base.MigrationExtensionBase

Extension to provide sqlalchemy-migrate features.

Parameters:migration_config (dict) – Stores specific configuration for migrations
downgrade(version)
enabled
has_revision(rev_id)
order = 1
upgrade(version)
version()