diff --git a/script/bulk_import/generic_bulk.rb b/script/bulk_import/generic_bulk.rb index 04b6c9625a4..20270f7f71a 100644 --- a/script/bulk_import/generic_bulk.rb +++ b/script/bulk_import/generic_bulk.rb @@ -2988,15 +2988,6 @@ class BulkImport::Generic < BulkImport::Base end reaction_users.close - - puts "", "Updating reaction counts..." - - ActiveRecord::Base.transaction do - DiscourseReactions::Reaction.find_each do |reaction| - actual_count = DiscourseReactions::ReactionUser.where(reaction_id: reaction.id).count - reaction.update_column(:reaction_users_count, actual_count) - end - end end def import_reactions