Error While db-push

I last pushed a change 2 days ago, and this error didn't occur. Today, when I added description to it and tried to push, it gave me this error. I wonder why.
1 Reply
DRVGO
DRVGO15mo ago
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
Want results from more Discord servers?
Add your server