Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
index f65c938..88581b3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe015=['changed','closed','format','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./openchannelInteraction.attributes','openchannel_interactions'];(function(_0x1c9c24,_0x2a517b){var _0x349c69=function(_0x259ff7){while(--_0x259ff7){_0x1c9c24['push'](_0x1c9c24['shift']());}};_0x349c69(++_0x2a517b);}(_0xe015,0x13b));var _0x5e01=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0xe015[_0x2be8c2];return _0x97f531;};'use strict';var _=require(_0x5e01('0x0'));var util=require(_0x5e01('0x1'));var logger=require(_0x5e01('0x2'))('api');var moment=require('moment');var BPromise=require(_0x5e01('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e01('0x4'));var rimraf=require(_0x5e01('0x5'));var config=require(_0x5e01('0x6'));var attributes=require(_0x5e01('0x7'));module['exports']=function(_0x1814cb,_0x3d2da2){return _0x1814cb['define']('OpenchannelInteraction',attributes,{'tableName':_0x5e01('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x3aeaef,_0x1420c2,_0x40d31f){if(_0x3aeaef[_0x5e01('0x9')](_0x5e01('0xa'))){_0x3aeaef['closedAt']=moment()[_0x5e01('0xb')]('YYYY-MM-DD\x20HH:mm:ss');}_0x40d31f(null,_0x3aeaef);}}});};
\ No newline at end of file
+var _0xce68=['bluebird','request-promise','rimraf','../../config/environment','./openchannelInteraction.attributes','openchannel_interactions','utf8mb4','utf8mb4_unicode_ci','changed','closed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','../../config/logger','api','moment'];(function(_0x96c538,_0xc5e208){var _0x38f9d3=function(_0x45ae24){while(--_0x45ae24){_0x96c538['push'](_0x96c538['shift']());}};_0x38f9d3(++_0xc5e208);}(_0xce68,0x10c));var _0x8ce6=function(_0x35f4c1,_0x3e38ff){_0x35f4c1=_0x35f4c1-0x0;var _0xd8226a=_0xce68[_0x35f4c1];return _0xd8226a;};'use strict';var _=require(_0x8ce6('0x0'));var util=require('util');var logger=require(_0x8ce6('0x1'))(_0x8ce6('0x2'));var moment=require(_0x8ce6('0x3'));var BPromise=require(_0x8ce6('0x4'));var rp=require(_0x8ce6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8ce6('0x6'));var config=require(_0x8ce6('0x7'));var attributes=require(_0x8ce6('0x8'));module['exports']=function(_0x116e0a,_0x10b3ca){return _0x116e0a['define']('OpenchannelInteraction',attributes,{'tableName':_0x8ce6('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x8ce6('0xa'),'collate':_0x8ce6('0xb'),'hooks':{'beforeUpdate':function(_0x258d09,_0x5adb5a,_0x417bcf){if(_0x258d09[_0x8ce6('0xc')](_0x8ce6('0xd'))){_0x258d09[_0x8ce6('0xe')]=moment()[_0x8ce6('0xf')](_0x8ce6('0x10'));}_0x417bcf(null,_0x258d09);}}});};
\ No newline at end of file