diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 11:09:21 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 11:09:21 +0200 |
commit | c8122e1981527a716639561cc3f880764f06387b (patch) | |
tree | 56c58229ba294f89870b027dc18585cc19d2dc54 /src/web/models | |
parent | Improved layout of the profile page. (diff) | |
download | newspipe-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.py | 1 |
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) |