Updated Tasks model with data type defaults and more column constraints.