drizzle-kit instrospect generating default for DATE unwrapped by sql #2411
alexmondaini
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table called
ever_day
and one of the columns generated bydrizzle-kit instrospect
is like this:release_date: date('release_date').default(CURRENT_DATE).notNull()
in order to remediate the situation I wrapped into
sql
like this .release_date: date('release_date').default(sql
CURRENT_DATE).notNull()
is this a known limitation ? bug ? I am quite new to drizzle
Beta Was this translation helpful? Give feedback.
All reactions