Trying to make cakephp to return tinyint(1) as int and not as bool. I don't want to change my entire database for small select boxes, just to fit it to CakePHP.
I found the following row at lib/Cake/Model/Datasource/Database/Mysql.php
if (($col === 'tinyint' && $limit == 1) || $col === 'boolean') {
return 'boolean';
}
Commenting this line didn't work.
Anyone have a solution for this issue?
int