This commit is contained in:
Aevann1 2021-11-26 00:09:18 +02:00
parent 5ce19cfba2
commit 8b36d95215
2 changed files with 4 additions and 1 deletions

View file

@ -18,6 +18,7 @@ class Badge(Base):
badge_id = Column(Integer)
description = Column(String)
url = Column(String)
user = relationship("User", viewonly=True)
def __repr__(self):
return f"<Badge(user_id={self.user_id}, badge_id={self.badge_id})>"