aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
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 e8ac1d3b..3e4ffcac 100644
--- a/src/web/models/user.py
+++ b/src/web/models/user.py
@@ -45,6 +45,7 @@ class User(db.Model, UserMixin, RightMixin):
nickname = db.Column(db.String(), unique=True)
email = db.Column(db.String(254), index=True, unique=True)
pwdhash = db.Column(db.String())
+ is_public_profile = db.Column(db.Boolean(), default=False)
date_created = db.Column(db.DateTime(), default=datetime.now)
last_seen = db.Column(db.DateTime(), default=datetime.now)
refresh_rate = db.Column(db.Integer, default=60) # in minutes
bgstack15