Are default values not transferred over via drizzle-zod?
It seems like when I use a
default([])
in my schema
file that when I create a Zod object, I have to re-do the defaults?2 Replies
Defaults are for SQL only. They have no effect at runtime.
They are only used by drizzle-kit to generate the migrations.
ah okay
thanks