Dr. Pure
Explore posts from serversDTDrizzle Team
•Created by Dr. Pure on 7/14/2024 in #help
Issue with constraint primary key when using drizzle-kit push 2 times.
Hello! I am facing an issue where if I use
drizzle-kit push
2 times without making any changes on a schema with a table with a constraint primary key.
First push. Works as intended.
Second push. Gives an error.
Ran sql command when pushing the second time:
A reproduction can be tried cloning this repository (the problem doesn't appear in https://drizzle.run). https://github.com/PureSci/drizzle-push-issue21 replies
DTDrizzle Team
•Created by Dr. Pure on 7/13/2024 in #help
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
11 replies