createSelectSchema & createInsertSchema does not infer array properly

Hey there,
I have a table with an array of text
text('col_name').array()

The issue? Well when I try to call my drizzle-zod create and insert schemas, TS does not understand and tell my the col_name is a string instead of string()

Any idea on how to solve this?
Was this page helpful?