Skip to content

Commit

Permalink
Merge pull request cgwire#699 from EvanBldy/master
Browse files Browse the repository at this point in the history
[qa] fix app.extensions[sqlalchemy].db AttributeError
  • Loading branch information
EvanBldy authored Sep 12, 2023
2 parents 05d5098 + 7d9f496 commit d5b409c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zou/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5b409c

Please sign in to comment.