Search
Setup for Free
DT
Drizzle Team
•
2y ago
Bernardes
Timestamp defaultNow() not working
Hey folks
, i
'm using drizzle with postgres
, i
'm trying to generate a created
_at and a update
_at field in my schema
, but when the data is created
, the timestamp fields appears as null in the database
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,798
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
⚡
⚡Z.E.U.S⚡
•
4/20/24, 8:38 AM
@berrnardes
(GMT
-3
)Hey
! This should work now
, please try it
B
Bernardes
OP
•
4/20/24, 3:25 PM
It work
, thanks my lord
Similar Threads
defaultNow(), onUpdateNow() not available on the datetime data type
DT
Drizzle Team / help
3y ago
Invalid default value when using defaultNow()
DT
Drizzle Team / help
3y ago
SQLite: timestamp vs timestamp_ms modes
DT
Drizzle Team / help
3y ago