Hello, I've got a problem with saving boolean flags in MySql with Phalcon ORM.
For storing boolean values MySql uses a tinyint(1) field.
In Version 1.3.1 here https://github.com/phalcon/cphalcon/blob/1.3.1/ext/db/adapter/pdo/mysql.c#L221-L227 tinyint(1) columns were converted to boolean types automatically.
After this https://github.com/phalcon/cphalcon/issues/2236 bug report those lines were removed.
But there's the question: How can I use boolean types with MySql, PHP true/false constants and Phalcon ORM in my models?