]> git.donarmstrong.com Git - debbugs.git/commitdiff
BinAssociation is not plural
authorDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 20:48:31 +0000 (13:48 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 20:48:31 +0000 (13:48 -0700)
bin/debbugs-updatesqlcache

index d1948ba73e3b961bf8420eeae3c67de1b6dc3f0a..8e57d4a0032a6c994d3a10e9cd8849d9118d5fc0 100755 (executable)
@@ -223,7 +223,7 @@ sub update_cache {
        # association modified
        push @bugs,
            map {$_->{'bug_binpackages.id'}}
-           $s->resultset('BinAssociations')->
+           $s->resultset('BinAssociation')->
            search_rs({'me.modified' => {'>=',$last_query_time},
                      },
                     {columns => [qw(bug_binpackages.id)],
@@ -237,7 +237,7 @@ sub update_cache {
        # or a source association modified
        push @bugs,
            map {$_->{'bug_srcpackages.id'}}
-           $s->resultset('SrcAssociations')->
+           $s->resultset('SrcAssociation')->
            search_rs({'me.modified' => {'>=',$last_query_time},
                      },
                     {columns => [qw(bug_srcpackages.id)],