summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-02-18 03:24:56 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-02-18 03:24:56 +0100
commit2541a7dcf12529052a710def2e70afc794f4fbff (patch)
tree5e70d2fa5e3c326290384087091d787e7fbe32b5 /Bugzilla/DB
parent11a0cd743d60b18c1dde5f02c8fde3d590272bec (diff)
downloadbugzilla-2541a7dcf12529052a710def2e70afc794f4fbff.tar.gz
bugzilla-2541a7dcf12529052a710def2e70afc794f4fbff.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 058e78a5f..f92d0aeb7 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -640,8 +640,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' },
],
},
@@ -661,8 +661,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' },
],
},