From f81bf319932265973edff4161ac14d73a441b7a3 Mon Sep 17 00:00:00 2001 From: Ruben Oussoren Date: Tue, 19 Nov 2024 10:53:33 -0500 Subject: [PATCH] Fix the import votes for posts table to the new table (#29810) --- script/bulk_import/generic_bulk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bulk_import/generic_bulk.rb b/script/bulk_import/generic_bulk.rb index 69dc3fdbd9c..2ede9b1fdba 100644 --- a/script/bulk_import/generic_bulk.rb +++ b/script/bulk_import/generic_bulk.rb @@ -1960,7 +1960,7 @@ class BulkImport::Generic < BulkImport::Base votes = query(<<~SQL) SELECT * - FROM votes + FROM post_voting_votes WHERE votable_type = 'Post' SQL