Added length to strings
This commit is contained in:
parent
f2ae768f76
commit
108cfc4bd1
2 changed files with 8 additions and 1 deletions
|
@ -3,7 +3,7 @@ from .app import db
|
||||||
|
|
||||||
class User(db.Model):
|
class User(db.Model):
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
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)
|
authorized = db.Column(db.Boolean, default=True)
|
||||||
admin = db.Column(db.Boolean, default=False)
|
admin = db.Column(db.Boolean, default=False)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
|
certifi==2018.8.24
|
||||||
|
chardet==3.0.4
|
||||||
click==6.7
|
click==6.7
|
||||||
Flask==1.0.2
|
Flask==1.0.2
|
||||||
|
Flask-SQLAlchemy==2.3.2
|
||||||
|
idna==2.7
|
||||||
itsdangerous==0.24
|
itsdangerous==0.24
|
||||||
Jinja2==2.10
|
Jinja2==2.10
|
||||||
MarkupSafe==1.0
|
MarkupSafe==1.0
|
||||||
|
requests==2.19.1
|
||||||
|
SQLAlchemy==1.2.12
|
||||||
|
urllib3==1.23
|
||||||
Werkzeug==0.14.1
|
Werkzeug==0.14.1
|
||||||
|
|
Loading…
Reference in a new issue