From 7d9f49614f401ed5a0bbcbead2806490c6c3d9ca Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Tue, 12 Sep 2023 05:16:52 +0200 Subject: [PATCH] [qa] fix app.extensions[sqlalchemy].db AttributeError --- zou/app/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zou/app/__init__.py b/zou/app/__init__.py index 7e1a244fc4..3a832411e4 100644 --- a/zou/app/__init__.py +++ b/zou/app/__init__.py @@ -44,6 +44,7 @@ db = SQLAlchemy(app) migrate = Migrate(app, db) # DB schema migration features +app.extensions["sqlalchemy"].db = db app.secret_key = app.config["SECRET_KEY"] jwt = JWTManager(app) # JWT auth tokens