[BUG]: Introspecting varchar[]
type produces syntactically invalid schema.ts
#1633
Labels
varchar[]
type produces syntactically invalid schema.ts
#1633
What version of
drizzle-orm
are you using?0.29.1
What version of
drizzle-kit
are you using?0.20.6
Describe the Bug
Using Supabase Postgres:
Create table
Modify table to add varchar[] field with default
Run
$ drizzle-kit introspect:pg
This produces a
schema.ts
file with:Note the syntax errors near
{ length: 40 }
andcharacter varying
.Expected behavior
I believe the correct syntax is
Environment & setup
I am using Supabase Postgres.
The issue happens in local development environment on Node
20.5.1
The text was updated successfully, but these errors were encountered: