Built motion from commit b18b7a808.|1.0.23
[motion.git] / server / models / user.js
index d18d8e2..22e3265 100644 (file)
@@ -746,6 +746,10 @@ module.exports = function(sequelize, DataTypes) {
     phoneBarShowOmniDesktop: {
       type: DataTypes.BOOLEAN,
       defaultValue: true
+    },
+    phoneBarRingInUse: {
+      type: DataTypes.BOOLEAN,
+      defaultValue: false
     }
   }, {
     tableName: 'users',
@@ -1003,7 +1007,10 @@ module.exports = function(sequelize, DataTypes) {
           'showWebBar',
           'callgroup',
           'pickupgroup',
-          'phoneBarShowOmniDesktop'
+          'phoneBarShowOmniDesktop',
+          'phoneBarRingInUse',
+          'phone',
+          'mobile'
         ]
       });
       User.addScope('telephone', {