diff options
Diffstat (limited to 'app/backend/rcal/model.py')
-rw-r--r-- | app/backend/rcal/model.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/backend/rcal/model.py b/app/backend/rcal/model.py index 61f0047..c795262 100644 --- a/app/backend/rcal/model.py +++ b/app/backend/rcal/model.py @@ -145,11 +145,15 @@ class User(BASE): id = Column(Integer, primary_key=True) login = Column(String(255), unique=True, index=True) password = Column(String(255)) + e_mail = Column(String(255)) + activation_hash = Column(String(32), index=True) + is_active = Column(Boolean, index=True) + activation_date = Column(UTCDateTime) + last_login = Column(UTCDateTime) is_admin = Column(Boolean) timezone = Column(String(255)) language = Column(String(8)) grouped_view = Column(Boolean) - last_login = Column(UTCDateTime) auth_keys = relationship( 'UserAuthKey', @@ -197,5 +201,6 @@ class MailQueue(BASE): default=0, server_default='0', index=True) create_time = Column(UTCDateTime, index=True) last_attempt_time = Column(UTCDateTime, index=True) + last_error_info = Column(Text) __all__ = ('Calendar', 'Entry', 'Category', 'User', 'UserAuthKey', 'MailQueue') |