programmeerles-ouderen

Teach programming to seniors
Log | Files | Refs

commit 7768f3a82a477f51476efae8d8a0ab9a64d4fdc2
parent 0c77edaed576f13a3c0af07ae75d8af61a7102d6
Author: xd <[email protected]>
Date:   Mon,  4 Apr 2022 14:20:14 +0200

added type column

Diffstat:
Mflaskblog/models.py | 2+-
Aflaskblog/site.db-journal | 0
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/flaskblog/models.py b/flaskblog/models.py @@ -10,7 +10,7 @@ def load_user(user_id): class User(db.Model, UserMixin): id = db.Column(db.Integer, primary_key=True) - type = db.Column(db.string(6), nullable=False, default="client") + type = db.Column(db.String(6), nullable=False, default="client") username = db.Column(db.String(20), unique=True, nullable=False) email = db.Column(db.String(120), unique=True, nullable=False) image_file = db.Column(db.String(20), nullable=False, default='default.jpg') diff --git a/flaskblog/site.db-journal b/flaskblog/site.db-journal Binary files differ.