From 359f39941dc22d861cf4daca5e4fe2ff13102840 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Mon, 21 Sep 2026 21:45:35 +0700 Subject: [PATCH] fix --- migrations/20260921220000_fix_screen_timer_timezone.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 migrations/20260921220000_fix_screen_timer_timezone.sql diff --git a/migrations/20260921220000_fix_screen_timer_timezone.sql b/migrations/20260921220000_fix_screen_timer_timezone.sql new file mode 100644 index 0000000..4651c9f --- /dev/null +++ b/migrations/20260921220000_fix_screen_timer_timezone.sql @@ -0,0 +1,9 @@ +-- +goose Up +ALTER TABLE screen_sessions + ALTER COLUMN timer_ends_at TYPE TIMESTAMPTZ + USING timer_ends_at AT TIME ZONE 'Asia/Barnaul'; + +-- +goose Down +ALTER TABLE screen_sessions + ALTER COLUMN timer_ends_at TYPE TIMESTAMP + USING timer_ends_at AT TIME ZONE 'Asia/Barnaul';