Bug Report: Drizzle-kit Introspection Failed to Declare Default Value in SQL
Table introspection fails to find a type declaration for a default value.
Automatic SQL import does not occur and it imports without declaring it to be raw SQL.
As a result several errors are created in the imported schema.
Solution:
Introspection must import SQL and make the statement as evidenced in the Documentation:
https://orm.drizzle.team/docs/indexes-constraints
Drizzle ORM - Indexes & Constraints
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
1 Reply
Github Issue #2069
GitHub
[BUG]: Drizzle-kit Introspection Failed to Declare Default Value in...
What version of drizzle-orm are you using? 0.29.4 What version of drizzle-kit are you using? 0.20.14 Describe the Bug Table introspection fails to find a type declaration for a default value. ref_i...