From 01bbbb7336835451888dabfb1fc7e874986585ad Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 16 Jun 2016 03:05:04 +0200 Subject: * grouped view user preference --- app/backend/rcal/model.py | 1 + app/frontend/model/User.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/backend/rcal/model.py b/app/backend/rcal/model.py index 7b649fb..50f9f94 100644 --- a/app/backend/rcal/model.py +++ b/app/backend/rcal/model.py @@ -146,6 +146,7 @@ class User(BASE): is_admin = Column(Boolean) timezone = Column(String(255)) language = Column(String(8)) + grouped_view = Column(Boolean) last_login = Column(UTCDateTime) calendars = relationship('Calendar', diff --git a/app/frontend/model/User.php b/app/frontend/model/User.php index 922033f..5a20582 100644 --- a/app/frontend/model/User.php +++ b/app/frontend/model/User.php @@ -13,6 +13,7 @@ class User extends ActiveRecord { public $IsAdmin; public $Timezone; public $Language; + public $GroupedView; public $LastLogin; public static $COLUMN_MAPPING = [ @@ -22,6 +23,7 @@ class User extends ActiveRecord { 'is_admin' => 'IsAdmin', 'timezone' => 'Timezone', 'language' => 'Language', + 'grouped_view' => 'GroupedView', 'last_login' => 'LastLogin' ]; -- cgit v1.2.3