DRVGO
DRVGO
DTDrizzle Team
Created by DRVGO on 8/11/2023 in #help
Error While db-push
Guess I fixed it, for some reason defaultNow() is generating (now()) instead of current_timestamp(). I just checked the table in the db. I changed it to,
.default(sql`current_timestamp()`)
.default(sql`current_timestamp()`)
And it worked
2 replies