keystone.common.sql.migrate_repo.versions.073_insert_assignment_inherited_pk module

keystone.common.sql.migrate_repo.versions.073_insert_assignment_inherited_pk module

keystone.common.sql.migrate_repo.versions.073_insert_assignment_inherited_pk.upgrade(migrate_engine)[source]

Insert inherited column to assignment table PK constraints.

For non-SQLite databases, it changes the constraint in the existing table.

For SQLite, since changing constraints is not supported, it recreates the assignment table with the new PK constraint and migrates the existing data.

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.