adding todo list model to db. throwing error for date in second model