Files
homeschool/backend/app/models/__init__.py
derekc 5cd537a445 Add Morning Routine to Admin and TV greeting state
Adds a per-user Morning Routine item list that appears in the TV
dashboard Activities panel during the "Good Morning" countdown
(before the first block starts).

- morning_routine_items table (auto-created on startup)
- CRUD API at /api/morning-routine (auth-required)
- Items included in the public DashboardSnapshot so TV gets them
  without auth
- Morning Routine section in Admin page (same add/edit/delete UX
  as subject options)
- TV Activities column shows routine items when no block is active,
  switches to subject options once a block starts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 22:19:15 -08:00

28 lines
802 B
Python

# Import all models here so Alembic can discover them via Base.metadata
from app.models.base import Base, TimestampMixin
from app.models.user import User
from app.models.child import Child
from app.models.subject import Subject, SubjectOption
from app.models.schedule import ScheduleTemplate, ScheduleBlock
from app.models.session import DailySession, TimerEvent, TimerEventType
from app.models.activity import ActivityLog
from app.models.morning_routine import MorningRoutineItem
from app.models.strike import StrikeEvent
__all__ = [
"Base",
"TimestampMixin",
"User",
"Child",
"Subject",
"SubjectOption",
"ScheduleTemplate",
"ScheduleBlock",
"DailySession",
"TimerEvent",
"TimerEventType",
"ActivityLog",
"MorningRoutineItem",
"StrikeEvent",
]