Built motion from commit c56b56e.|0.0.125
[motion.git] / server / migrations / 20160509130347-trunks.js
index c65c5fc..cb9fda7 100644 (file)
@@ -1 +1,11 @@
-var _0x6c00=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x6c00[0];module[_0x6c00[1]]= {up:function(_0xebc4x1,_0xebc4x2){_0xebc4x1[_0x6c00[4]](_0x6c00[2],_0x6c00[3],_0xebc4x2.STRING)},down:function(_0xebc4x1,_0xebc4x2){_0xebc4x1[_0x6c00[5]](_0x6c00[2],_0x6c00[3])}}
\ No newline at end of file
+'use strict';
+
+module.exports = {
+  up: function(queryInterface, Sequelize) {
+    queryInterface.addColumn('tools_trunks', 'peerstatus', Sequelize.STRING);
+  },
+
+  down: function(queryInterface, Sequelize) {
+    queryInterface.removeColumn('tools_trunks', 'peerstatus');
+  }
+};