]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/SrcPkg.pm
Merge branch 'database'
[debbugs.git] / Debbugs / DB / Result / SrcPkg.pm
index 10266fa5c724c4832d2f25072b3613248165ab46..fc6b2e1a24ce65af6a5bfffcb1922b9ae1e066b4 100644 (file)
@@ -263,5 +263,10 @@ __PACKAGE__->has_many(
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j8LGu4eUfNUNxM/jkHUG2A
 
 
-# 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 => 'src_pkg_pkg',
+                          fields => 'pkg',
+                         );
+}
 1;