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
Dan
Dan2y ago
@Andrew Sherman
Andrii Sherman
known issue
Andrii Sherman
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...
Want results from more Discord servers?
Add your server