alex (he/him)
Explore posts from serversDTDrizzle Team
•Created by alex (he/him) on 12/12/2024 in #help
How to set opclass for index with custom sql column
we do have following definitions, after we used
drizzle-kit pull
Now the issue is that, drizzle-kit generate
thinks it needs to drop the index and recreates it, because it doesn't understand that the opclass is optional.
This is the initial state from introspection
This is what drizzle generates as a migration
I know for other columns we can use .op('text_ops')
, but that doesn't work for the custom index column with sql
?1 replies
DTDrizzle Team
•Created by alex (he/him) on 6/19/2023 in #help
drizzle-kit@win still not working. What am I doing wrong?
/Users/alexanderniebuhr/Developer/Projects/alexanderniebuhr_blog/packages/db/drizzle.config.ts
6 replies
DTDrizzle Team
•Created by alex (he/him) on 6/4/2023 in #help
Type Declaration with TypeScript in Monorepo failes
I am trying to setup a monorepo with moon and pnpm, where shema lives in an additional package and is imported by other apps. Is there any monorepo example?
Currently I get following error:
There is an GitHub Issue already, can anyone help with workarounds or fixes, explanations?
https://github.com/drizzle-team/drizzle-orm/issues/656
6 replies