Support STRICT_TRANS_TABLES sql mode

By explicitly adding DEFAULT '0' to task size and name ids. The
default MySQL install on Mac OS X I am using has STRICT_TRANS_TABLES
enabled.