diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-18 03:41:50 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-18 03:41:50 +0100 |
commit | ce16ab89d78d2299c9afb8e18c2a1d6454fcbafe (patch) | |
tree | 17c768c0112c92724efd8604832f4da632f29bae /Bugzilla/DB | |
parent | 793f9d9c3900d37147494de72065ebc66e61d019 (diff) | |
download | bugzilla-ce16ab89d78d2299c9afb8e18c2a1d6454fcbafe.tar.gz bugzilla-ce16ab89d78d2299c9afb8e18c2a1d6454fcbafe.tar.xz |
Bug 824346 - The flaginclusions and flagexclusions DB tables have no UNIQUE index
r/a=LpSolit
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Schema.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 23e484464..f45f82852 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -655,8 +655,8 @@ use constant ABSTRACT_SCHEMA => { DELETE => 'CASCADE'}}, ], INDEXES => [ - flaginclusions_type_id_idx => - [qw(type_id product_id component_id)], + flaginclusions_type_id_idx => { FIELDS => [qw(type_id product_id component_id)], + TYPE => 'UNIQUE' }, ], }, @@ -676,8 +676,8 @@ use constant ABSTRACT_SCHEMA => { DELETE => 'CASCADE'}}, ], INDEXES => [ - flagexclusions_type_id_idx => - [qw(type_id product_id component_id)], + flagexclusions_type_id_idx => { FIELDS => [qw(type_id product_id component_id)], + TYPE => 'UNIQUE' }, ], }, |