Skip to content

A platform for community discussion. Free, open, simple.

Fix the import votes for posts table to the new table (#29810)

Ruben Oussorenf81bf3199322
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