UserTable relation table name correction (#849)

OAuthAccount should be correct table name SQLAlchemyBaseOAuthAccountTable
This commit is contained in:
Hazedd
2022-01-09 10:08:54 +01:00
committed by GitHub
parent a55ed2581e
commit de97d6597a

View File

@ -17,7 +17,7 @@ Base: DeclarativeMeta = declarative_base()
class UserTable(Base, SQLAlchemyBaseUserTable):
oauth_accounts = relationship("OAuthAccount")
oauth_accounts = relationship("OAuthAccountTable")
class OAuthAccountTable(SQLAlchemyBaseOAuthAccountTable, Base):