Drizzle doesn't know how to serialize a bigint
When using a defaultValue for a bigint like this:
I will ge the following error when generating the schema:
I am using postgresql
5 Replies
bump
Hello,
Would you try this?
Yes, that works! But only for the drizzle kit. When I try to push it, I get the following error:
Solution
Try without the
n
? I guess it is only a JS thing right?That worked 🥳 I guess it is, yea. Thanks for your help ❤️