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?
0 Replies
No replies yetBe the first to reply to this messageJoin