summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install/DB.pm')
-rw-r--r--Bugzilla/Install/DB.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index d317ee594..bb82f5e2d 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -741,6 +741,10 @@ sub update_table_definitions {
$dbh->bz_alter_column('logincookies', 'cookie',
{TYPE => 'varchar(22)', NOTNULL => 1, PRIMARYKEY => 1});
+ # 2015-07-16 LpSolit@gmail.com - Bug 946780
+ $dbh->bz_add_index('bz_schema', 'bz_schema_version_idx',
+ {FIELDS => ['version'], TYPE => 'UNIQUE'});
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################