Skip to content

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

FIX: db_timestamps_mover errors from discourse-voting plugin (#28123)

Neil Lalondee81fc27a0f3c
diff --git a/script/db_timestamps_mover.rb b/script/db_timestamps_mover.rb
index fc92d54b19b..7371e214993 100644
--- a/script/db_timestamps_mover.rb
+++ b/script/db_timestamps_mover.rb
@@ -133,7 +133,12 @@ def is_date?(string)
end
def create_updater
- ignore_tables = %w[user_second_factors]
+ ignore_tables = %w[
+ user_second_factors
+ discourse_voting_topic_vote_count
+ discourse_voting_votes
+ discourse_voting_category_settings
+ ]
TimestampsUpdater.new "public", ignore_tables
end