Fix team registration table name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user