]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugTag.pm
Update DB Schema version to 6
[debbugs.git] / Debbugs / DB / Result / BugTag.pm
index 15e5c3a438957265d338872a07c2a85d0a61b6f7..f5c6c24f4037e16eead8a07860408f5f21f2a4eb 100644 (file)
@@ -115,5 +115,11 @@ __PACKAGE__->belongs_to(
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yyHP5f8zAxn/AdjOCr8WAg
 
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
+sub sqlt_deploy_hook {
+    my ($self, $sqlt_table) = @_;
+    $sqlt_table->add_index(name => 'bug_tag_tag',
+                          fields => [qw(tag)],
+                         );
+}
+
 1;