From b66674fec2e8f8df775f8d0a6fafe81fb2030510 Mon Sep 17 00:00:00 2001 From: Andrei Prigorshnev Date: Fri, 6 Aug 2021 18:27:23 +0400 Subject: [PATCH] DEV: ignore the given_daily_likes table when moving timestamps on Try (#13971) This will fix the try-reset build that failed today. Probably this going to happen again with other tables that have constraints on date columns. I'm going to modify the script to make it work without ignoring such tables. After that, the only table we're going to need to ignore will be the 2FA table. Before I fixed that, don't hesitate to tag me if the try-reset build fail again. --- 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 530370e7b63..593506da3af 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_second_factors user_visits] + ignore_tables = %w[application_requests given_daily_likes user_second_factors user_visits] TimestampsUpdater.new "public", ignore_tables end