Error while pushing/pulling from pg DB (supabase)

if (column7.column_default.endsWith("[]")) {
^

TypeError: Cannot read properties of undefined (reading 'endsWith')
if (column7.column_default.endsWith("[]")) {
^

TypeError: Cannot read properties of undefined (reading 'endsWith')
facing this issue, after I run the migrations for the first time, introspect, pull, push all of them throwing error.
4 Replies
Firee
Firee2w ago
Encountering same issue Bump
Dezii
Dezii2w ago
Me too. npx drizzle-kit pull worked in the beginning. Then I got this error after adding a new table in Supabase
Firee
Firee2w ago
Hi @rajat.abcx @the.barracuda @Dezii I tried using neon db instead of supabase. It is working fine now. So in short, this might really be a supabase problem
Want results from more Discord servers?
Add your server