]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/CorrespondentFullName.pm
fix var typo and add in missing correspondent index
[debbugs.git] / Debbugs / DB / Result / CorrespondentFullName.pm
index c5a28ec5599b2d396fa145fe2128a4910178471c..a5be28391424693094157a86ad4076eb594485d5 100644 (file)
@@ -117,8 +117,8 @@ __PACKAGE__->belongs_to(
 
 sub sqlt_deploy_hook {
     my ($self, $sqlt_table) = @_;
-    for my $idx (qw(correspondent message)) {
-       $sqlt_table->add_index(name => 'message_correspondent_idx'.$idx,
+    for my $idx (qw(full_name last_seen)) {
+       $sqlt_table->add_index(name => 'correspondent_full_name_idx_'.$idx,
                               fields => [$idx]);
     }
 }