mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
UserTable relation table name correction (#849)
OAuthAccount should be correct table name SQLAlchemyBaseOAuthAccountTable
This commit is contained in:
@@ -17,7 +17,7 @@ Base: DeclarativeMeta = declarative_base()
|
||||
|
||||
|
||||
class UserTable(Base, SQLAlchemyBaseUserTable):
|
||||
oauth_accounts = relationship("OAuthAccount")
|
||||
oauth_accounts = relationship("OAuthAccountTable")
|
||||
|
||||
|
||||
class OAuthAccountTable(SQLAlchemyBaseOAuthAccountTable, Base):
|
||||
|
||||
Reference in New Issue
Block a user