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.