DT
Drizzle Team•2mo ago
Sadra

Issue with $defaultFn and Column Typing in SQLite

Hey Drizzle team! 👋 When using $defaultFn in an SQLite schema, it seems like column typing gets ignored during inserts and updates. Is there a plan or timeline to address this issue?
4 Replies
ninio
ninio•2mo ago
I am having the exact same issue with .default()... But with MySQL and Planetscale. @Sadra I found the issue, I have it in my monorepo, where one package was not set to strict in the tsconfig. Reference: https://discord.com/channels/1043890932593987624/1317528601440157696/1317564083029147690
Sadra
SadraOP•2mo ago
using strict in tsconfig fix the issue ?
ninio
ninio•2mo ago
Jup.
Sadra
SadraOP•2mo ago
thanks

Did you find this page helpful?