When I use `@createdAt`, `@updatedAt`, prisma crea...
# orm-help
b
When I use
@createdAt
,
@updatedAt
, prisma creates two columns with
timestamp without timezone
type in Postgresql. I try to change their type to
timestamp with timezone
, but when I redeploy, the error show up
Copy code
Encountered unknown SQL type timestamptz with column createdAt
If I change their type back to
timestamp without timezone
, I can deploy successfully. So my question is
How can I use timestamp with timezone in Postgresql?
l
What about using timestamp without timezone and converting data when retrieving?
h