Update sql/tasks.sql

Mandatory values have to be NOT NULL.
The "hour" in the day is actually not a "TIME" by itself.
The "Date" data type will store the year and we just want to be able to compare a day in the year (but, without problems of 365 vs 366-days-long years)