Add missing docblock content
fix incorrect date-time type value
Assume a tinyint field is a checkbox unless its a primary key.