]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/UserTag.pm
Update DB Schema version to 6
[debbugs.git] / Debbugs / DB / Result / UserTag.pm
index 2ced7917182f3904b54173e4f9b9e2f3dd1b240f..0883a2e5fe4a8f124b9634a1d76dc070ad4f2c55 100644 (file)
@@ -141,6 +141,11 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-09-24 14:51:07
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZPmTBeTue62dG2NdQdPrQg
 
+sub sqlt_deploy_hook {
+    my ($self, $sqlt_table) = @_;
+    $sqlt_table->add_index(name => 'user_tag_correspondent',
+                          fields => [qw(correspondent)],
+                         );
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;