Skip to content

Commit

Permalink
Use TIMESTAMPTZ for date field in postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRunWu committed Dec 13, 2023
1 parent eb96d9c commit 3ddd976
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CREATE TABLE domain_verification (
domain_prefix TEXT NOT NULL,
value TEXT NOT NULL,
app_id TEXT NOT NULL REFERENCES app(id),
verified_at TIMESTAMP
verified_at TIMESTAMPTZ
);
CREATE UNIQUE INDEX app_domain_mapping ON domain_verification(app_id, domain) WHERE deleted_at IS NULL;

Expand Down

0 comments on commit 3ddd976

Please sign in to comment.