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.