Using drizzle-kit push only works the first time (when database is empty)
I am using drizzle with supabase. I successfully pushed my schema for the first time but when updating it with new tables it hangs down in Pulling schema from database...
To solve it I have to delete all the tables or intentionally make an error somewhere in drizzle config.
Is this my issue or drizzle issue? I have been seeing similar cases but with no solution yet.
versions
"drizzle-orm": "^0.34.1"
"drizzle-kit": "^0.25.0"
1 Reply
Anyone experiencing the same issue?
Update with this
node_modules\drizzle-kit\bin.cjs:19320
if (column7.column_default.endsWith("[]"))
TypeError: Cannot read properties of undefined (reading 'endsWith') New error. It happens on drizzle-kit/bin.cjs
TypeError: Cannot read properties of undefined (reading 'endsWith') New error. It happens on drizzle-kit/bin.cjs