Update cps/ub.py
This commit is contained in:
parent
a3be6acf33
commit
ccef6c5bbf
@ -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"):
|
||||||
|
Loading…
Reference in New Issue
Block a user