Table having boolean column ,boolean should only accept value 0 or 1 but it is accepting int value as well as string value.
This is table schema –
CREATE TABLE maintable_slave ( din INTEGER, strip_no integer, strip_status boolean);
And here is query through which i am updating column-
update maintable_slave set strip_status = 5 where din = 1;
update maintable_slave set strip_status = 'add' where din = 1;
here strip_status boolean column accepting string and integer value.
This is a frequently asked question—it’s literally in SQLite’s FAQ: