feat(coord): add due_at field to coord_todos

Migration 20260526_150000 adds nullable due_at datetime column. Model, schemas
(create/update/response), and sync.sh display updated. Sync output now shows
due:YYYY-MM-DDTHH:MM alongside any todo with a due date.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 08:05:00 -07:00
parent 4be89035cc
commit 1c038c7c2c
4 changed files with 36 additions and 2 deletions

View File

@@ -60,6 +60,11 @@ class CoordTodo(Base, UUIDMixin, TimestampMixin):
doc="Status: pending / done / cancelled"
)
due_at: Mapped[Optional[datetime]] = mapped_column(
DateTime,
doc="When the item is due"
)
completed_at: Mapped[Optional[datetime]] = mapped_column(
DateTime,
doc="When the item was marked done"