From a53892d2bbbddfae2dcfdd668621d28567040a53 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 16 Nov 2023 08:19:31 -0500 Subject: [PATCH] Fixing an issue with timezone migration. (#4153) --- migrations/2023-08-02-174444_fix-timezones/up.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrations/2023-08-02-174444_fix-timezones/up.sql b/migrations/2023-08-02-174444_fix-timezones/up.sql index 5ff41e304..98069805a 100644 --- a/migrations/2023-08-02-174444_fix-timezones/up.sql +++ b/migrations/2023-08-02-174444_fix-timezones/up.sql @@ -1,3 +1,5 @@ +DROP FUNCTION IF EXISTS hot_rank CASCADE; + SET timezone = 'UTC'; -- Allow ALTER TABLE ... SET DATA TYPE changing between timestamp and timestamptz to avoid a table rewrite when the session time zone is UTC (Noah Misch)