The oslo_db.sqlalchemy.migration_cli.manager Module

The oslo_db.sqlalchemy.migration_cli.manager Module

class oslo_db.sqlalchemy.migration_cli.manager.MigrationManager(migration_config, engine=None)

Bases: object

downgrade(revision)

Downgrade database with available backends.

revision(message, autogenerate)

Generate template or autogenerated revision.

stamp(revision)

Create stamp for a given revision.

upgrade(revision)

Upgrade database with all available backends.

version()

Return last version of db.

oslo_db.sqlalchemy.migration_cli.manager.check_plugin_enabled(ext)

Used for EnabledExtensionManager.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.