mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: ignore the 2FA table when moving timestamps (#13793)
or 2FA will be broken after moving. We use this script for moving timestamps when restoring Try.
This commit is contained in:
parent
1a8c949900
commit
efc8d5f134
|
@ -79,7 +79,7 @@ def is_date?(string)
|
|||
end
|
||||
|
||||
def create_updater
|
||||
ignore_tables = %w[application_requests user_visits]
|
||||
ignore_tables = %w[application_requests user_second_factors user_visits]
|
||||
TimestampsUpdater.new "public", ignore_tables
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user