CakePHP and tinyint as boolean
Use TINYINT(2)
instead. If the length is 1, Cake sees it as a boolean.
The proper way (CakePHP3), if anyone is still having this problem
Model\UsersTable.php
protected function _initializeSchema( Schema $schema)
{
//this is a bigInt(20) field (other same type known Cakephp problem)
$schema->columnType('OtherField' , 'string');
//this is a tinyint field
$schema->columnType('Type' , 'integer');
return $schema;
}