]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugSrcpackage.pm
Merge branch 'mouseify'
[debbugs.git] / Debbugs / DB / Result / BugSrcpackage.pm
index 2bccb2918a09a9e4416bbe7d536bd4bbbc9dfff3..d5b6540923921333a8350ec522d15f6db719cf97 100644 (file)
@@ -114,6 +114,11 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-03-04 10:59:03
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5SduyMaGHABDrX19Cxg4fg
 
+sub sqlt_deploy_hook {
+    my ($self, $sqlt_table) = @_;
+    $sqlt_table->add_index(name => 'bug_srcpackage_src_pkg_idx',
+                          fields => [qw(src_pkg)],
+                         );
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;