keystone/keystone/common/sql/migrate_repo/versions
Kent Wang 59b09b50ff Add Trusts unique constraint to remove duplicates
For now, effectively there could be multiple trusts with the same
project, trustor, trustee, expiry date, impersonation. The same
combination can have multiple trusts assigned with different roles
or not.

Patch fixes this issue by adding unique constraint to the trusts
database model. If two requests create trusts with the same
trustor, trustee, project, expiry, impersonation, then the second
request would bring up an exception saying there's a conflict.

This can help to improve specific trusts identification and
improve user experience.

Change-Id: I1a681b13cfbef40bf6c21271fb80966517fb1ec5
Closes-Bug: #1475091
2015-11-19 16:15:05 +00:00
..
044_icehouse.py Migrations squash 2015-03-09 13:22:55 -07:00
045_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
046_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
047_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
048_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
049_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
050_fk_consistent_indexes.py Keystone Spelling Errors in docstrings and comments 2015-10-29 09:46:14 -05:00
051_add_id_mapping.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
052_add_auth_url_to_region.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
053_endpoint_to_region_association.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
054_add_actor_id_index.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
055_add_indexes_to_token_table.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
056_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
057_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
058_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
059_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
060_placeholder.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
061_add_parent_project.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
062_drop_assignment_role_fk.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
063_drop_region_auth_url.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
064_drop_user_and_group_fk.py Remove SQL Downgrades 2015-03-26 12:09:46 -07:00
065_add_domain_config.py pep8 whitespace changes 2015-04-25 00:02:33 +00:00
066_fixup_service_name_value.py Handle NULL value for service.extra in migration 066 2015-04-07 16:50:19 +03:00
067_drop_redundant_mysql_index.py Fix for migration 062 on MySQL 2015-03-30 11:45:00 +03:00
068_placeholder.py Add placeholders for reserved migrations 2015-04-07 14:50:45 -04:00
069_placeholder.py Add placeholders for reserved migrations 2015-04-07 14:50:45 -04:00
070_placeholder.py Add placeholders for reserved migrations 2015-04-07 14:50:45 -04:00
071_placeholder.py Add placeholders for reserved migrations 2015-04-07 14:50:45 -04:00
072_placeholder.py Add placeholders for reserved migrations 2015-04-07 14:50:45 -04:00
073_insert_assignment_inherited_pk.py Merge "Keystone Spelling Errors in docstrings and comments" 2015-11-06 11:19:02 +00:00
074_add_is_domain_project.py Add is_domain field in Project Table 2015-08-18 16:05:25 -03:00
075_confirm_config_registration.py Relax newly imposed sql driver restriction for domain config 2015-09-19 08:11:22 +01:00
076_placeholder.py add placeholder migrations for liberty 2015-10-13 01:22:38 -04:00
077_placeholder.py add placeholder migrations for liberty 2015-10-13 01:22:38 -04:00
078_placeholder.py add placeholder migrations for liberty 2015-10-13 01:22:38 -04:00
079_placeholder.py add placeholder migrations for liberty 2015-10-13 01:22:38 -04:00
080_placeholder.py add placeholder migrations for liberty 2015-10-13 01:22:38 -04:00
081_add_endpoint_policy_table.py Move endpoint_policy migrations into keystone core 2015-10-29 00:34:26 -05:00
082_add_federation_tables.py Move federation sql migrations to common 2015-11-18 15:13:34 +00:00
083_add_oauth1_tables.py Move oauth1 sql migrations to common 2015-11-18 15:13:56 +00:00
084_add_revoke_tables.py Move revoke sql migrations to common 2015-11-18 15:14:15 +00:00
085_add_endpoint_filtering_table.py Move endpoint_filter migrations into keystone core 2015-11-18 15:31:24 +00:00
086_add_duplicate_constraint_trusts.py Add Trusts unique constraint to remove duplicates 2015-11-19 16:15:05 +00:00
__init__.py establish basic structure 2012-01-18 20:06:27 -08:00