From 641acf18bcd551c12cb5353c33f2b827c53efbbf Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Sun, 18 Jan 2026 08:14:39 -0800 Subject: [PATCH] Fix timestamp column type Signed-off-by: Bryan Frimin --- pkg/coredata/migrations/20260118T161053Z.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/coredata/migrations/20260118T161053Z.sql diff --git a/pkg/coredata/migrations/20260118T161053Z.sql b/pkg/coredata/migrations/20260118T161053Z.sql new file mode 100644 index 000000000..c9293d7e0 --- /dev/null +++ b/pkg/coredata/migrations/20260118T161053Z.sql @@ -0,0 +1,12 @@ +ALTER TABLE iam_invitations + ALTER COLUMN expires_at TYPE TIMESTAMP WITH TIME ZONE + USING expires_at AT TIME ZONE 'UTC'; + +ALTER TABLE iam_invitations + ALTER COLUMN accepted_at TYPE TIMESTAMP WITH TIME ZONE + USING accepted_at AT TIME ZONE 'UTC'; + +ALTER TABLE iam_invitations + ALTER COLUMN created_at TYPE TIMESTAMP WITH TIME ZONE + USING created_at AT TIME ZONE 'UTC'; +