Use tinyint(1) for boolean in MySQL. Closes #1202.