© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago•
1 reply
Makistos

Lots of type issues after running introspection.

Decided to finally give Drizzle a spin and run introspection on my database to automatically generate the models. But I got loads of type errors that say
"Argument of type 'string' is not assignable to parameter of type 'number | SQL<unknown>'.ts(2345)"
And this is because of lines like this:
version: int("version").default('NULL')
How should I fix these & why did this happen in the first place?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Drizzle postgres migration gives lots of type errors
Drizzle TeamDTDrizzle Team / help
2y ago
introspection fails (Supabase)
Drizzle TeamDTDrizzle Team / help
2y ago
Introspection error with pg
Drizzle TeamDTDrizzle Team / help
3y ago