summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-02-18 03:41:50 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-02-18 03:41:50 +0100
commitce16ab89d78d2299c9afb8e18c2a1d6454fcbafe (patch)
tree17c768c0112c92724efd8604832f4da632f29bae /Bugzilla/DB
parent793f9d9c3900d37147494de72065ebc66e61d019 (diff)
downloadbugzilla-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.pm8
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' },
],
},