Fix timestamp column type
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
12
pkg/coredata/migrations/20260118T161053Z.sql
Normal file
12
pkg/coredata/migrations/20260118T161053Z.sql
Normal file
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user