Changed getBoolean() to generate Tinyint instead of PHP boolean