bit type goes to postgresql as a string
Hello!
I was recently creating my schemas for a project (I am using postgresql) and I set a column as bit(10), but drizzle-kit push passes it to postgresql as a string so that postgresql gives an error.
->
ERROR: type "bit(10)" does not exist at character 161
8 Replies
please have a look ðŸ˜
Cc @Andrew Sherman 🫶
that's a bug
if you can create a GH issue for it, would be helpful
GitHub
bit type goes to postgresql as a string · Issue #509 · drizzle-team...
When drizzle-kit generate is ran on the following code, the sql code it creates has the bit type as a string that it gives an error. export const users = pgTable( "user", { id: bigint(&qu...
any news?
is this issue resolved? why is it deleted?
Doesn't seem deleted on my end. Regardless, this is an issue affecting a few other types too. We'll get it patched soon.
:drizzle: