mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix backref in Discord table
This commit is contained in:
parent
1a38465d3d
commit
34b04acd5d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Discord:
|
||||||
discriminator = Column(String)
|
discriminator = Column(String)
|
||||||
avatar_hash = Column(String)
|
avatar_hash = Column(String)
|
||||||
|
|
||||||
royal = relationship("Royal", backref="telegram")
|
royal = relationship("Royal", backref="discord")
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"<Discord {str(self)}>"
|
return f"<Discord {str(self)}>"
|
||||||
|
|
Loading…
Reference in a new issue