FIX: db_timestamps_mover errors from discourse-voting plugin (#28123)
https://github.com/discourse/discourse-topic-voting/pull/196 Some tables in that plugin are read-only, so the script fails when trying to update rows in those tables. Add them to the ignore list.
This commit is contained in:
parent
9c57be6403
commit
e81fc27a0f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue