Merge branch 'oauth_table_fix_2_electricboogaloo' into 'master'
Update cps/ub.py See merge request Jafner/calibre-web!3
This commit is contained in:
commit
0b77cfa05e
@ -562,7 +562,7 @@ def add_missing_tables(engine, _session):
|
||||
if oauth_support:
|
||||
if not engine.dialect.has_table(engine.connect(), "oauthProvider"):
|
||||
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)
|
||||
|
||||
if not engine.dialect.has_table(engine.connect(), "registration"):
|
||||
|
Loading…
Reference in New Issue
Block a user