"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](https://cdn.answeroverflow.com/1220674617430249502/image.png)
5 Replies
this is so weird
I'm not quite experienced with sqlite but why are u trying to default integer value to a boolean value?
that's because it is forced by the schema
![No description](https://cdn.answeroverflow.com/1221066052796940338/image.png)
do you think this is an issue on the side of drizzle for generating FALSE and TRUE values in the migration for sqlite db?
Seems like an oversight, yeah