benjick
Explore posts from serversDTDrizzle Team
•Created by benjick on 6/1/2024 in #help
Noob question about DROP TABLE ordering
Hello!
I'm about to drop my first table with Drizzle, and I noticed the SQL file looks like this:
won't dropping the table first cause issues with the FK contraints?
4 replies
DTDrizzle Team
•Created by benjick on 5/28/2024 in #help
drizzle-kit push fails every second time
Hello
I'm having this annoying issue where I have to wipe my postgres database before doing a
push
.
How can I resolve this? I'm attaching a log below, this is without changing anything in between:
4 replies
DTDrizzle Team
•Created by benjick on 5/12/2024 in #help
Find needed indexes
Hello!
Is there any way to find unindexed columns which should be indexed with drizzle? Firebase has this feature where it yells at you if you select or sort on columns which hasn't been indexed.
Cheers
1 replies
DTDrizzle Team
•Created by benjick on 11/29/2023 in #help
Property '[IsDrizzleTable]' is missing in type
Hello!
I've just updated to drizzle-orm@0.29.1 and I can't use drizzle-zod anymore (@0.5.1).
This is my code:
Gives me the following error:
What can I do?
11 replies
DTDrizzle Team
•Created by benjick on 10/24/2023 in #help
column "summary" cannot be cast automatically to type jsonb
Hello!
I'm getting this error when running my migrations, I used to have a text field and now it's a jsonb
How can I resolve this?
This is the migration:
10 replies
DTDrizzle Team
•Created by benjick on 9/23/2023 in #help
How to handle relations during insert?
Is this correct? Feels like I should be able to do it in one call, but values doesn't accept anything else
8 replies