You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During introspect tables that have default value set as timezone('utc'::text, now()) are getting pulled without wrapped sql operator like so default(timezone('utc'::text, now())).notNull(), which is invalid typescript code
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?0.24.2
Describe the Bug
During introspect tables that have default value set as
timezone('utc'::text, now())
are getting pulled without wrapped sql operator like sodefault(timezone('utc'::text, now())).notNull(),
which is invalid typescript codeExpected behavior
expected
default(sql`timezone('utc'::text, now())\`).notNull(),
Environment & setup
No response
The text was updated successfully, but these errors were encountered: