DT
Drizzle Teamsevenwestonroads

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 !
B
bloberenober348d ago
@Andrew Sherman
AS
Andrii Sherman348d ago
known issue
AS
Andrii Sherman348d ago
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...