Convert boolean to tinyint
Set tinyint limit to nil
Quote true/false as 1/0