fix bug for migration

master
TuxCoder 2022-02-20 16:54:35 +01:00
parent 2a119b6ef8
commit 01803ec20a
1 changed files with 2 additions and 1 deletions

View File

@ -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)