Built motion from commit 0c27b27.|1.0.11
[motion.git] / server / models / voice_chanspy.js
index 48f931f..7d81cf5 100644 (file)
@@ -18,7 +18,15 @@ module.exports = function(sequelize, DataTypes) {
       defaultValue: false
     },
     password: DataTypes.STRING,
-    description: DataTypes.STRING
+    description: DataTypes.STRING,
+    record: {
+      type: DataTypes.BOOLEAN,
+      defaultValue: false
+    },
+    recordingFormat: {
+      type: DataTypes.STRING,
+      defaultValue: 'wav'
+    }
   }, {
     tableName: 'voice_chanspy',
     associate: function(models) {