From aa4c15005d427906cda5831e475d2af1672cc753 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 27 Aug 2019 14:35:20 +0100 Subject: Add full name column to User table This should have been added to commit a182009. --- app/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app') diff --git a/app/models.py b/app/models.py index 947deb1..757a0ef 100644 --- a/app/models.py +++ b/app/models.py @@ -34,6 +34,9 @@ class User(UserMixin, db.Model): wants_credit = db.Column(db.Boolean(), default=False) wants_updates = db.Column(db.Boolean(), default=False) + # full name + fullname = db.Column(db.String(256), unique=False, nullable=True) + def __repr__(self): return "" % self.username -- cgit v1.2.3