Revert bit data types to tinyint to fix smarty errors