Map sql tinyint to pdo bool

I ran into a problem where tinyint in MySQL, which is used for booleans, where not being mapped to PDO::PARAM_BOOL.

For my project I made a minor modification to the sql pdo wrapper to treat tinyint as a special case in the schema function. Thought I'd share it.