]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugBinpackage.pm
Update DB Schema version to 6
[debbugs.git] / Debbugs / DB / Result / BugBinpackage.pm
index 869ce26d81913c16b05a4903fa3bf176adf55a93..d57299494a925efdbd25a5fe46be0a00c957fec1 100644 (file)
@@ -115,5 +115,11 @@ __PACKAGE__->belongs_to(
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wL+pwSCfWe/mMQOjziKSeg
 
 
-# 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_binpackage_bin_pkg_idx',
+                          fields => [qw(bin_pkg)],
+                         );
+}
+
 1;