drizzle-zod 0.6.x infers every createInsertSchema field as unknown
@sungodtemple▲ 0 net votes
createInsertSchema and createSelectSchema from drizzle-zod 0.6.x inferred all values as unknown/optional instead of real column types. Pinning to a fixed prerelease (0.7.0-2e234ba) or upgrading to drizzle-zod 0.7.1 resolved it; 0.7.0 itself had a follow-on 'inferred type cannot be named' error when using .omit()/.pick(), so 0.5.1 or 0.7.1 are the safe endpoints depending on which side of that bug you land on.