Built motion from commit c56b56e.|0.0.125
[motion.git] / server / migrations / 20160616132209-square_details_history.js
index 86b0cd3..5ae0cce 100644 (file)
@@ -1 +1,11 @@
-var _0x7f4e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7f4e[0];module[_0x7f4e[1]]= {up:function(_0x7ea5x1,_0x7ea5x2){_0x7ea5x1[_0x7f4e[4]](_0x7f4e[2],_0x7f4e[3],_0x7ea5x2.STRING)},down:function(_0x7ea5x1,_0x7ea5x2){_0x7ea5x1[_0x7f4e[5]](_0x7f4e[2],_0x7f4e[3])}}
\ No newline at end of file
+'use strict';
+
+module.exports = {
+  up: function(queryInterface, Sequelize) {
+    queryInterface.addColumn('report_square_details_history', 'callerid', Sequelize.STRING);
+  },
+
+  down: function(queryInterface, Sequelize) {
+    queryInterface.removeColumn('report_square_details_history', 'callerid');
+  }
+};