(drizzle-typebox) 'id' missing when using `generatedAlwaysAsIdentity`
When generating a select schema from my drizzle table, the
id
field uses generatedAlwaysAsIdentity
and is missing from the schema. I see that using generatedByDefaultAsIdentity()
instead fixes this (https://github.com/drizzle-team/drizzle-orm/issues/4724) but I would need to evaluate any consequences before rolling this out to production.
Any help or insight would be appreciated!
Update: rolling drizzle-typebox
back to v0.3.0
(from v0.3.3
) seems to fix for now
(Apologies used the drizzle orm tag as no drizzle-typebox)0 Replies