This commit is contained in:
alckasoc 2026-03-08 17:40:10 -07:00
parent ecd3d9e415
commit 86eabf6697
19 changed files with 973 additions and 15 deletions

View file

@ -87,7 +87,7 @@ def init_db(engine) -> None:
"""Create all tables that do not yet exist. Safe to call on every startup."""
from .base import Base
# Import all models so SQLAlchemy registers them with Base.metadata before create_all.
from .models import company, employee, event, ledger, scratchpad, session, sim_state, task # noqa: F401
from .models import client, company, employee, event, ledger, scratchpad, session, sim_state, task # noqa: F401
Base.metadata.create_all(engine)