From 01803ec20a5ce2ed5cb7482a7cf61d7daf61deb2 Mon Sep 17 00:00:00 2001 From: TuxCoder Date: Sun, 20 Feb 2022 16:54:35 +0100 Subject: [PATCH] fix bug for migration --- lenticular_cloud/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lenticular_cloud/model.py b/lenticular_cloud/model.py index 12fc118..2fc9b48 100644 --- a/lenticular_cloud/model.py +++ b/lenticular_cloud/model.py @@ -16,6 +16,7 @@ import json import logging import crypt from flask_sqlalchemy import SQLAlchemy, orm +from flask_migrate import Migrate from datetime import datetime import uuid import pyotp @@ -27,7 +28,7 @@ ldap_conn = None # type: Connection base_dn = '' db = SQLAlchemy() # type: SQLAlchemy - +migrate = Migrate() class UserSignUp(db.Model): id = db.Column(db.Integer, primary_key=True)