Built motion from commit c56b56e.|0.0.125
[motion.git] / server / migrations / 20160414100530-voice_extension.js
index 3ed2d65..74038fc 100644 (file)
@@ -1 +1,11 @@
-var _0x1133=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x61\x70\x70\x54\x79\x70\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1133[0];module[_0x1133[1]]= {up:function(_0x3987x1,_0x3987x2){_0x3987x1[_0x1133[4]](_0x1133[2],_0x1133[3],_0x3987x2.STRING)},down:function(_0x3987x1,_0x3987x2){_0x3987x1[_0x1133[5]](_0x1133[2],_0x1133[3])}}
\ No newline at end of file
+'use strict';
+
+module.exports = {
+  up: function(queryInterface, Sequelize) {
+    queryInterface.addColumn('voice_extensions', 'appType', Sequelize.STRING);
+  },
+
+  down: function(queryInterface, Sequelize) {
+    queryInterface.removeColumn('voice_extensions', 'appType');
+  }
+};