Create a type of VARCHAR[]
I want to create a type for my column of
VARCHAR[]
but when I used Drizzle-Kit to generate it, I got the drizzle-kit
that generated "varchar[]"
type instead of VARCHAR[]
Here's how I defined the column;
anonymousIds: varchar("anonymous_ids").array()
It represents an array of ids.
Thanks a lot !3 Replies
@Andrew Sherman
known issue
will work on it together with https://github.com/drizzle-team/drizzle-orm/issues/634
GitHub
[BUG]: drizzle-kit generate:pg generates faulty default arrays · Is...
What version of drizzle-orm are you using? 0.26.1 What version of drizzle-kit are you using? 0.18.1 Describe the Bug import { pgEnum, pgTable, serial } from 'drizzle-orm/pg-core'; export co...