Create one-to-many relationship between schedule and tasks