aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/models.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-08 15:07:07 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-08-20 08:10:50 -0700
commit93d805ad6b0e5324c515323d2fc0a4a7ea3f1dad (patch)
treeef393bce2e8f8d6cc587225a7c5733c125c9a914 /mediagoblin/db/models.py
parent4a2aa93c6abeb4831a03a9e8bd7089d0a6f2470e (diff)
downloadmediagoblin-93d805ad6b0e5324c515323d2fc0a4a7ea3f1dad.tar.lz
mediagoblin-93d805ad6b0e5324c515323d2fc0a4a7ea3f1dad.tar.xz
mediagoblin-93d805ad6b0e5324c515323d2fc0a4a7ea3f1dad.zip
add user prefrence for insite notifications
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r--mediagoblin/db/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 9cb39ff4..4341e086 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -69,6 +69,7 @@ class User(Base, UserMixin):
# Intented to be nullable=False, but migrations would not work for it
# set to nullable=True implicitly.
wants_comment_notification = Column(Boolean, default=True)
+ wants_notifications = Column(Boolean, default=True)
license_preference = Column(Unicode)
is_admin = Column(Boolean, default=False, nullable=False)
url = Column(Unicode)