diff --git a/src/meal_manager/models.py b/src/meal_manager/models.py index ebad123..f8eea7f 100644 --- a/src/meal_manager/models.py +++ b/src/meal_manager/models.py @@ -64,7 +64,7 @@ class Event(Base): class TeamRegistration(Base): - __tablename__ = "team_registration" + __tablename__ = "teamregistration" id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True) event_id: Mapped[int] = mapped_column(ForeignKey("event.id")) person_name: Mapped[str] = mapped_column(nullable=False)