[BUG]: drizzle-kit introspect
generates CURRENT_TIMESTAMP
without sql
operator on date
column
#2899
Labels
drizzle-kit introspect
generates CURRENT_TIMESTAMP
without sql
operator on date
column
#2899
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
When I run
drizzle-kit introspect
, generatedschema.ts
is broken on thedate
type column becauseCURRENT_TIMESTAMP
is not quoted withsql
operator.Only occurs on the
date
column, not ontimestamp
columns.Expected behavior
Generate this instead:
Environment & setup
Using
pg
v8.12.0The text was updated successfully, but these errors were encountered: