Files
gartenmanager/backend/app/db/base.py

14 lines
462 B
Python
Raw Normal View History

from sqlalchemy.orm import DeclarativeBase
class Base(DeclarativeBase):
pass
# Import all models here so Alembic can detect them
from app.models.user import User, UserTenant # noqa: F401, E402
from app.models.tenant import Tenant # noqa: F401, E402
from app.models.plant import PlantFamily, Plant, PlantCompatibility # noqa: F401, E402
from app.models.bed import Bed # noqa: F401, E402
from app.models.planting import BedPlanting # noqa: F401, E402