Skip to content

Commit b95a644

Browse files
committed
Register model with SQLModel
1 parent 623eb81 commit b95a644

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/python/app/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def create_db_and_tables() -> None:
8080
def init_app(_app: Any | None = None) -> None:
8181
"""Initialize database for the application"""
8282
# Import models to register them with SQLModel
83+
from .driver_assignment import DriverAssignment # noqa: F401
8384
from .entity import Entity # noqa: F401
8485
from .simple_entity import SimpleEntity # noqa: F401
8586
from .user import User # noqa: F401

0 commit comments

Comments
 (0)