diff --git a/app/models.py b/app/models.py index 3d8839f..30896b9 100644 --- a/app/models.py +++ b/app/models.py @@ -3,7 +3,7 @@ from .app import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) - username = db.Column(db.String, unique=True, nullable=False) + username = db.Column(db.String(255), unique=True, nullable=False) authorized = db.Column(db.Boolean, default=True) admin = db.Column(db.Boolean, default=False) diff --git a/requirements.txt b/requirements.txt index 34ffbb7..ea5f2e1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,13 @@ +certifi==2018.8.24 +chardet==3.0.4 click==6.7 Flask==1.0.2 +Flask-SQLAlchemy==2.3.2 +idna==2.7 itsdangerous==0.24 Jinja2==2.10 MarkupSafe==1.0 +requests==2.19.1 +SQLAlchemy==1.2.12 +urllib3==1.23 Werkzeug==0.14.1