]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugUserTag.pm
use CGI::Simple->new()
[debbugs.git] / Debbugs / DB / Result / BugUserTag.pm
index 113a36a1bccc98372cf72b1f0f9edbc9097726f8..6d83c63aac94b8d88794dbae1cbb41bdf747bf43 100644 (file)
@@ -113,5 +113,11 @@ __PACKAGE__->belongs_to(
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jZngUCQ1eBBcfXd/jWCKGA
 
 
-# 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_user_tag_tag',
+                          fields => [qw(user_tag)],
+                         );
+}
+
 1;