Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
24.61k
stars
649
forks
source link
[BUG]: `introspect` generates invalid schema depending on the default value #3593
Open
ooflorent opened 6 hours ago
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.36.3
What version of
drizzle-kit
are you using?0.28.1
Other packages
No response
Describe the Bug
Given the following PostgreSQL table definition:
When running
drizzle-kit introspect
, the command generates an invalid schema: