From 726b27a41c41b76d3ded3dcf350bc7bfdeeeecf6 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 10 Jun 2021 15:57:45 +0530 Subject: added migration to app --- app/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app') diff --git a/app/__init__.py b/app/__init__.py index fcaddc9..da9ceff 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -4,6 +4,7 @@ from flask import Flask from flask_bcrypt import Bcrypt from flask.cli import AppGroup from flask_sqlalchemy import SQLAlchemy +from flask_migrate import Migrate import flask_login from flask_mailman import Mail from sentry_sdk.integrations.flask import FlaskIntegration @@ -22,6 +23,7 @@ app.config.from_object("app.config") bcrypt = Bcrypt(app) db = SQLAlchemy(app) +migrate = Migrate(app, db) login_manager = flask_login.LoginManager() oauth = OAuth(app) mail = Mail(app) -- cgit v1.2.3