diff options
-rw-r--r-- | app/backend/rcal/model.py | 1 | ||||
-rw-r--r-- | app/frontend/model/User.php | 2 |
2 files changed, 3 insertions, 0 deletions
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' ]; |