From efc8d5f13471af6cc70eaebc2663df57dcd6c954 Mon Sep 17 00:00:00 2001 From: Andrei Prigorshnev Date: Tue, 20 Jul 2021 15:49:20 +0400 Subject: [PATCH] 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. --- script/db_timestamps_mover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/db_timestamps_mover.rb b/script/db_timestamps_mover.rb index 44eac5ad9ac..530370e7b63 100644 --- a/script/db_timestamps_mover.rb +++ b/script/db_timestamps_mover.rb @@ -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