Files
armonia-api/app/models/__init__.py
T
kiskaadee 67f41ca2f1 feat(models): implement SQLModel table models, portable database engine, and align INDIVIDUAL schema
- Define SQLModel table models for AdminAllowlist, AdminAuditLog, Client, Service, Package, Booking, and Payment with foreign keys and strict validation.
- Configure portable SQLModel create_engine in app/db/database.py supporting local SQLite and Turso Cloud (sqlite+libsql://) with PRAGMA foreign_keys = ON.
- Provide get_session generator dependency for FastAPI routers.
- Align ONE_ON_ONE service type to INDIVIDUAL across schema.sql, routers, seeds, and documentation.
- Add unit tests for all models and database connectivity (75 tests passing).

Refs: #6
2026-10-19 12:58:59 -05:00

17 lines
384 B
Python

from app.models.admin import AdminAllowlist, AdminAuditLog
from app.models.booking import Booking
from app.models.client import Client
from app.models.package import Package
from app.models.payment import Payment
from app.models.service import Service
__all__ = [
"AdminAllowlist",
"AdminAuditLog",
"Booking",
"Client",
"Package",
"Payment",
"Service",
]