summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/DB/Schema.pm')
-rw-r--r--Bugzilla/DB/Schema.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 5d5d52508..d770f2358 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1748,6 +1748,9 @@ use constant ABSTRACT_SCHEMA => {
schema_data => {TYPE => 'LONGBLOB', NOTNULL => 1},
version => {TYPE => 'decimal(3,2)', NOTNULL => 1},
],
+ INDEXES => [
+ bz_schema_version_idx => {FIELDS => ['version'], TYPE => 'UNIQUE'},
+ ],
},
bug_user_last_visit => {