Closed alexisveryreal closed 5 months ago
This is likely due to drizzle-kit is trying to patch to ensure timestamp(N)
and timestamp (N)
are seen as no difference. However, this part of the code forgot to filter out the no difference part which led to the bug.
Same error when trying to change timestamp's mode from "string" to "date"
Is there an update on this bug? I am running into it as well.
Getting a similar error since moving to drizzle-kit 0.22.0
and drizzle-orm 0.31.0
No error in drizzle-kit 0.21.0
and drizzle-orm 0.30.7
.
drizzle Error: Cannot use 'in' operator to search for 'enumValues' in undefined
Same error when trying to change timestamp's mode from "string" to "date"
Same problem here when changing just one timestamp mode from "string" to "date". Can't do any migration with latest release until it's fixed. I'll downgrade for the time being 👍
Any update on this? I wanted to use the new full text search in these new versions but sadly I will still need to wait.
Should be fixed in drizzle-kit@0.22.5
Geting the same as @sp88011 when trying to use the built in geometry. Does anyone still have similar issues?
Geting the same as @sp88011 when trying to use the built in geometry. Does anyone still have similar issues?
i reopened this as I'm getting the error with drizzle-zod https://github.com/drizzle-team/drizzle-orm/issues/2890
Same here when i use point (postgress) in tuple mode, not sure if it's drizzle-valibot or drizzle-orm that shows this error
I have the same issue when I'm trying to add a vector column.
embedding: vector("embedding", { dimensions: 1024 }),
Ok - for me it was drizzle-zod
commenting it out to generate migrations worked for me. At least I was able to generate schemas.
Ok - for me it was
drizzle-zod
commenting it out to generate migrations worked for me. At least I was able to generate schemas.
thank you, this is helpful. encountered the same issue
@zxt-tzx For that one table I had to to manually create zod schemas and everything works.
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.21.4
Describe the Bug
run drizzle-kit push get error
I had to drop all my tables and only then it worked
however running it again with NO changes to schema or anything it shows the error again
The error is also present when using npm
Error is not present on older versions of drizzle-kit
Expected behavior
Please let me know if there is anything else that you need!
Environment & setup
Drizzle Config
Drizzle Schema
Package.json