TaskPulse/backend/app/models/__init__.py
Steven cd41e59afc feat: add user authentication system
- User model (users table) with bcrypt password hashing
- JWT-based login API (POST /api/auth/login, GET /api/auth/me)
- Default admin account (admin/admin123) auto-created on startup
- Login page with centered dark-themed login card
- Route guards + Axios interceptors for token management
- Login page renders without sidebar (standalone layout)
- Gunicorn --preload to avoid worker DDL race condition
2026-06-14 23:22:53 +08:00

12 lines
585 B
Python

"""Model registry — all models are imported here so Alembic can discover them."""
from app.models.agent import Agent # noqa: F401
from app.models.task import ScheduledTask # noqa: F401
from app.models.execution import TaskExecution # noqa: F401
from app.models.notification import Alert, AlertRule, NotificationChannel # noqa: F401
from app.models.system_config import SystemConfig # noqa: F401
from app.models.user import User # noqa: F401
__all__ = ["Agent", "ScheduledTask", "TaskExecution", "NotificationChannel",
"AlertRule", "Alert", "SystemConfig", "User"]