Did you end up converting your boolean types to integers? Running into Error: D1_TYPE_ERROR: Type '

Did you end up converting your boolean types to integers?

Running into Error: D1_TYPE_ERROR: Type 'boolean' not supported for value 'false'

It looks like the docs under queries mention that it's converted, but this is on an insert where my migration creates the table with boolean types. Was curious if I should just be typing these integer and storing 1/0 instead of messing with true/false.

edit/ seems like yes, i should be using integers. it might be helpful if the migration execution would fail when you incorrectly use boolean
Was this page helpful?