use proper tinyint for boolean types