oslo_db.sqlalchemy.migration_cli.ext_alembic
Module¶oslo_db.sqlalchemy.migration_cli.ext_alembic.
AlembicExtension
(engine, migration_config)¶Bases: oslo_db.sqlalchemy.migration_cli.ext_base.MigrationExtensionBase
Extension to provide alembic features.
Parameters: |
|
---|
downgrade
(version)¶enabled
¶has_revision
(rev_id)¶order
= 2¶revision
(message='', autogenerate=False)¶Creates template for migration.
Parameters: |
|
---|
stamp
(revision)¶Stamps database with provided revision.
Parameters: | revision (string) – Should match one from repository or head - to stamp database with most recent revision |
---|
upgrade
(version)¶version
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.