summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-03-31 01:16:05 +0200
committermkanat%bugzilla.org <>2009-03-31 01:16:05 +0200
commit046d3a48fdf83496fd352ee51b7c836d7e69a313 (patch)
treecc0a07830cfbe9f6680cae2938151d7185781e67 /Bugzilla/DB
parentd9041c3f97422fb377c3e8d20129f4ef8517f833 (diff)
downloadbugzilla-046d3a48fdf83496fd352ee51b7c836d7e69a313.tar.gz
bugzilla-046d3a48fdf83496fd352ee51b7c836d7e69a313.tar.xz
Bug 423613: Make profiles.extern_id actually UNIQUE in the DB schema.
Patch by arbingersys@gmail.com r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index a3fefd8d8..680f754ca 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -825,6 +825,8 @@ use constant ABSTRACT_SCHEMA => {
INDEXES => [
profiles_login_name_idx => {FIELDS => ['login_name'],
TYPE => 'UNIQUE'},
+ profiles_extern_id_idx => {FIELDS => ['extern_id'],
+ TYPE => 'UNIQUE'}
],
},