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 512c75e..7b649fb 100644 --- a/app/backend/rcal/model.py +++ b/app/backend/rcal/model.py @@ -145,6 +145,7 @@ class User(BASE): password = Column(String(255)) is_admin = Column(Boolean) timezone = Column(String(255)) + language = Column(String(8)) last_login = Column(UTCDateTime) calendars = relationship('Calendar', diff --git a/app/frontend/model/User.php b/app/frontend/model/User.php index d431183..922033f 100644 --- a/app/frontend/model/User.php +++ b/app/frontend/model/User.php @@ -12,6 +12,7 @@ class User extends ActiveRecord { public $Password; public $IsAdmin; public $Timezone; + public $Language; public $LastLogin; public static $COLUMN_MAPPING = [ @@ -20,6 +21,7 @@ class User extends ActiveRecord { 'password' => 'Password', 'is_admin' => 'IsAdmin', 'timezone' => 'Timezone', + 'language' => 'Language', 'last_login' => 'LastLogin' ]; |