nico
Explore posts from serversDTDrizzle Team
•Created by nico on 11/9/2024 in #help
SQLite insert schema does not include nullable columns?
Hi, I am just tring out Drizzle with SQLite, but am running into some weird problem.
I created a table like this
Now when I infer the insert schema, or just try to insert data, typescript allways throws an error as it expects this schema:
It seems like to only includes columns that are not optional (and indexed clumns). This is preventing me from buildung my application as typescript allways throws when I try to insert data into the db.
Does someone know why this happens and how to prevent it?
2 replies