sdffd
This commit is contained in:
parent
5ce19cfba2
commit
8b36d95215
2 changed files with 4 additions and 1 deletions
|
@ -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})>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue