From 34b04acd5d660b46562f601d76c4e62da137d52d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 11 Apr 2019 19:20:56 +0200 Subject: [PATCH] Fix backref in Discord table --- royalnet/database/tables/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/database/tables/discord.py b/royalnet/database/tables/discord.py index c0e9be9d..2acba58e 100644 --- a/royalnet/database/tables/discord.py +++ b/royalnet/database/tables/discord.py @@ -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""