aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 11:09:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 11:09:21 +0200
commitc8122e1981527a716639561cc3f880764f06387b (patch)
tree56c58229ba294f89870b027dc18585cc19d2dc54 /src/web/models
parentImproved layout of the profile page. (diff)
downloadnewspipe-c8122e1981527a716639561cc3f880764f06387b.tar.gz
newspipe-c8122e1981527a716639561cc3f880764f06387b.tar.bz2
newspipe-c8122e1981527a716639561cc3f880764f06387b.zip
The user can now add its twitter page.
Diffstat (limited to 'src/web/models')
-rw-r--r--src/web/models/user.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/models/user.py b/src/web/models/user.py
index c8ed33f8..59c4ad38 100644
--- a/src/web/models/user.py
+++ b/src/web/models/user.py
@@ -50,6 +50,7 @@ class User(db.Model, UserMixin, RightMixin):
is_public_profile = db.Column(db.Boolean(), default=False)
webpage = db.Column(db.String(), default="")
+ twitter = db.Column(db.String(), default="")
date_created = db.Column(db.DateTime(), default=datetime.utcnow)
last_seen = db.Column(db.DateTime(), default=datetime.utcnow)
bgstack15