diff options
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r-- | mediagoblin/db/models.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index 466f31b8..5173be9e 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -63,18 +63,12 @@ class User(Base, UserMixin): # point. email = Column(Unicode, nullable=False) pw_hash = Column(Unicode) -#--column email_verified is VESTIGIAL with privileges and should not be used--- -#--should be dropped ASAP though a bug in sqlite3 prevents this atm------------ - email_verified = Column(Boolean, default=False) created = Column(DateTime, nullable=False, default=datetime.datetime.now) # 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) -#--column admin is VESTIGIAL with privileges and should not be used------------ -#--should be dropped ASAP though a bug in sqlite3 prevents this atm------------ - is_admin = Column(Boolean, default=False, nullable=False) url = Column(Unicode) bio = Column(UnicodeText) # ?? |