Built motion from commit fa8c70b.|0.0.144
[motion.git] / server / models / tools_action.js
index 932ad92..5547cca 100644 (file)
@@ -1 +1,34 @@
-var _0xb08e=["\x65\x78\x70\x6F\x72\x74\x73","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x74\x6F\x6F\x6C\x73\x5F\x61\x63\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xb08e[0]]=function(_0xd383x1,_0xd383x2){var _0xd383x3=_0xd383x1[_0xb08e[4]](_0xb08e[1],{action:{type:_0xd383x2[_0xb08e[2]]},data1:{type:_0xd383x2[_0xb08e[2]]},data2:{type:_0xd383x2[_0xb08e[2]]},data3:{type:_0xd383x2[_0xb08e[2]]},data4:{type:_0xd383x2[_0xb08e[2]]},data5:{type:_0xd383x2[_0xb08e[2]]}},{tableName:_0xb08e[3],associate:function(_0xd383x4){}});return _0xd383x3}
\ No newline at end of file
+/**
+ * Tools Actions Model
+ */
+
+module.exports = function(sequelize, DataTypes) {
+
+  var ToolsAction = sequelize.define('ToolsAction', {
+    action: {
+      type: DataTypes.STRING
+    },
+    data1: {
+      type: DataTypes.STRING(4096)
+    },
+    data2: {
+      type: DataTypes.STRING(4096)
+    },
+    data3: {
+      type: DataTypes.STRING(4096)
+    },
+    data4: {
+      type: DataTypes.STRING(4096)
+    },
+    data5: {
+      type: DataTypes.STRING(4096)
+    },
+    data6: {
+      type: DataTypes.STRING
+    }
+  }, {
+    tableName: 'tools_actions'
+  });
+
+  return ToolsAction;
+};