"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
piscopancerOP8mo ago
this is so weird
KirbyTwister
KirbyTwister8mo ago
I'm not quite experienced with sqlite but why are u trying to default integer value to a boolean value?
piscopancer
piscopancerOP8mo ago
that's because it is forced by the schema
No description
piscopancer
piscopancerOP8mo 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
KirbyTwister8mo ago
Seems like an oversight, yeah
Want results from more Discord servers?
Add your server