Summary
Extend the Task model with due_date and priority fields. This demonstrates schema evolution, Alembic migrations, and thoughtful API versioning — all practical backend skills.
Acceptance criteria
Notes
Priority enum and nullable date column are a common pattern in production task/project management APIs.
Summary
Extend the Task model with
due_dateandpriorityfields. This demonstrates schema evolution, Alembic migrations, and thoughtful API versioning — all practical backend skills.Acceptance criteria
Taskmodel gains optionaldue_date(ISO 8601 date) andpriority(enum:low/medium/high, defaultmedium)GET /tasks/?priority=highfilter works alongside existing pagination paramsGET /tasks/?due_before=2025-12-31filter returns tasks due on or before the given datecreate_allcomment updated with field notes)Notes
Priority enum and nullable date column are a common pattern in production task/project management APIs.