]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Maintainer.pm
Update DB Schema version to 6
[debbugs.git] / Debbugs / DB / Result / Maintainer.pm
index 9157653cc6f320ab3cdf7b930737b9d6537db9b1..d8c04ec8660c94ae5294e383090bee24c3394abd 100644 (file)
@@ -171,6 +171,11 @@ __PACKAGE__->has_many(
 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rkpgeXltH2wiC1Us7FIijw
 
+sub sqlt_deploy_hook {
+    my ($self, $sqlt_table) = @_;
+    $sqlt_table->add_index(name => 'maintainer_idx_correspondent',
+                          fields => [qw(correspondent)],
+                         );
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;