© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
3y ago
•
1 reply
Matan Nahmani
createInsertSchema forgets .$type() on text json mode fields in sqlite
for example
:
foodThemes
: text
(
"foodThemes
"
,
{
mode
:
"json
"
,
}
)
.
$type
<foodThemes
[
]
>
(
)
,
foodThemes will be referenced as JSON
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
createInsertSchema wrong type (drizzle-zod 0.3.1, sqlite))
DT
Drizzle Team / help
3y ago
default to empty object for sqlite text field with JSON mode
DT
Drizzle Team / help
2y ago
text mode json for sqlite Dq doesn't parse by default
DT
Drizzle Team / help
2y ago
{mode: "json"} sqlite/libs sql does nothing
DT
Drizzle Team / help
13mo ago