mirror of
https://github.com/collinear-ai/yc-bench.git
synced 2026-04-30 17:40:40 +00:00
init
This commit is contained in:
parent
ecd3d9e415
commit
86eabf6697
19 changed files with 973 additions and 15 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue