From aaf7192c65144fee593b06606b5a67876aae9be7 Mon Sep 17 00:00:00 2001 From: matthewalanpenning Date: Thu, 4 May 2023 19:42:08 -0400 Subject: [PATCH] v0.0.0 --- lxconsole/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lxconsole/models.py b/lxconsole/models.py index 554c292..e52b188 100644 --- a/lxconsole/models.py +++ b/lxconsole/models.py @@ -14,11 +14,10 @@ class User(db.Model, UserMixin): email = db.Column(db.String(255), nullable=True) first_name = db.Column(db.String(255), nullable=True) last_name = db.Column(db.String(255), nullable=True) - image_file = db.Column(db.String(255), nullable=False, default='') password = db.Column(db.String(255), nullable=False) created_at = db.Column(db.DateTime, nullable=False, default=datetime.utcnow) def __repr__(self): - return f"User('{self.username}', '{self.email}', '{self.image_file}')" + return f"User('{self.username}', '{self.email}', '{self.last_name}', '{self.first_name}')" class Group(db.Model):