diff options
author | Santo Cariotti <dcariotti24@gmail.com> | 2020-06-26 12:16:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-26 12:16:44 +0200 |
commit | 8156dd20c439b9070f87b5ed3ec671d1cd3edbc7 (patch) | |
tree | 5f0934ae8eb9fd4b9124e615793b22b2930fc8c7 | |
parent | 74cb76adb582b294a1529f2803e017f7b465000b (diff) |
fix: password field size
-rw-r--r-- | frest/auth/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frest/auth/models.py b/frest/auth/models.py index ea79def..da7f22c 100644 --- a/frest/auth/models.py +++ b/frest/auth/models.py @@ -15,7 +15,7 @@ def generate_token(): class User(db.Model): userId = db.Column(db.Integer, primary_key=True) email = db.Column(db.String(30)) - password = db.Column(db.String(30)) + password = db.Column(db.String(256)) is_admin = db.Column(db.Boolean, default=False) name = db.Column(db.String(30)) created_at = db.Column(db.DateTime) |