Update cps/ub.py

This commit is contained in:
Ace Archer 2022-07-12 06:32:55 +00:00
parent a3be6acf33
commit ccef6c5bbf

View File

@ -562,7 +562,7 @@ def add_missing_tables(engine, _session):
if oauth_support: if oauth_support:
if not engine.dialect.has_table(engine.connect(), "oauthProvider"): if not engine.dialect.has_table(engine.connect(), "oauthProvider"):
OAuthProvider.__table__.create(bind=engine) OAuthProvider.__table__.create(bind=engine)
if not engine.dialect.has_table(engine.connect(), "flask_dance_oauthconsumermixin"): if not engine.dialect.has_table(engine.connect(), "flask_dance_oauth"):
OAuth.__table__.create(bind=engine) OAuth.__table__.create(bind=engine)
if not engine.dialect.has_table(engine.connect(), "registration"): if not engine.dialect.has_table(engine.connect(), "registration"):