1
Fork 0
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:
Steffo 2019-04-11 19:20:56 +02:00
parent 1a38465d3d
commit 34b04acd5d

View file

@ -16,7 +16,7 @@ class Discord:
discriminator = Column(String)
avatar_hash = Column(String)
royal = relationship("Royal", backref="telegram")
royal = relationship("Royal", backref="discord")
def __repr__(self):
return f"<Discord {str(self)}>"