Built motion from commit 1038d87.|0.0.141
[motion.git] / server / models / voice_recording.js
index 22c22db..54bfb0a 100644 (file)
@@ -50,7 +50,6 @@ module.exports = function(sequelize, DataTypes) {
     },
     rating: {
       type: DataTypes.INTEGER,
-      defaultValue: 0,
       validate: {
         max: 5,
         min: 0
@@ -59,6 +58,9 @@ module.exports = function(sequelize, DataTypes) {
     queue: {
       type: DataTypes.STRING
     },
+    customerPhone: {
+      type: DataTypes.STRING
+    },
     createdAt: {
       type: DataTypes.DATE,
       get: function() {