Built motion from commit 82438f7.|0.0.115
[motion.git] / server / models / sms_room.js
index df12740..7558bb3 100644 (file)
@@ -28,13 +28,20 @@ module.exports = function(sequelize, DataTypes) {
         this.setDataValue('tags', val && val.length ? val.join(';') + ';' : null);
       }
     },
+    waiting: {
+      type: DataTypes.BOOLEAN,
+      defaultValue: false
+    },
     disposition: {
       type: DataTypes.STRING
     },
     ParentId: {
       type: DataTypes.INTEGER
     },
-    source: DataTypes.STRING
+    voiceSource: {
+      type: DataTypes.BOOLEAN,
+      defaultValue: false
+    }
   }, {
     tableName: 'sms_rooms',
     associate: function(models) {