diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-08-27 14:35:20 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-08-27 14:35:20 +0100 |
| commit | aa4c15005d427906cda5831e475d2af1672cc753 (patch) | |
| tree | ca11be7613b567dfb769ca7bd31ce7d428b09733 /app | |
| parent | Use average F1 score as the demo performance (diff) | |
| download | AnnotateChange-aa4c15005d427906cda5831e475d2af1672cc753.tar.gz AnnotateChange-aa4c15005d427906cda5831e475d2af1672cc753.zip | |
Add full name column to User table
This should have been added to commit a182009.
Diffstat (limited to 'app')
| -rw-r--r-- | app/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 "<User %r>" % self.username |
