"You're about to add not-null useless column without default value, which contains 1 items"

Excuse me? yes, there is one row in my answers table that was created before this migration. But it does not make sense. Shouldn't this row just acquire a createdAt column with default value of false?
No description
5 Replies
piscopancer
piscopancerOP9mo ago
this is so weird
KirbyTwister
KirbyTwister9mo ago
I'm not quite experienced with sqlite but why are u trying to default integer value to a boolean value?
piscopancer
piscopancerOP9mo ago
that's because it is forced by the schema
No description
piscopancer
piscopancerOP9mo ago
do you think this is an issue on the side of drizzle for generating FALSE and TRUE values in the migration for sqlite db?
KirbyTwister
KirbyTwister9mo ago
Seems like an oversight, yeah
Want results from more Discord servers?
Add your server