Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.92.js
index ac43ca7..e1ff4a9 100644 (file)
@@ -1 +1 @@
-const a1145_0x2e8b=['info','changeColumn','table\x20dropped\x20%s','dropTable','enqueue','stringify','renameColumn','../config/logger','exports','Added\x20column\x20%s\x20to\x20%s','final','query','inspect','sequelize','sequence','addColumn','removeColumn','tail','queryInterface','catch','removeIndex','then','prototype','Removed\x20column\x20%s\x20from\x20%s'];(function(_0xdadf8b,_0x1f8d1e){const _0x2e8b30=function(_0x5845cb){while(--_0x5845cb){_0xdadf8b['push'](_0xdadf8b['shift']());}};_0x2e8b30(++_0x1f8d1e);}(a1145_0x2e8b,0x19b));const a1145_0x5845=function(_0xdadf8b,_0x1f8d1e){_0xdadf8b=_0xdadf8b-0x169;let _0x2e8b30=a1145_0x2e8b[_0xdadf8b];return _0x2e8b30;};const a1145_0x5cd8c7=a1145_0x5845;'use strict';const util=require('util'),logger=require(a1145_0x5cd8c7(0x16d))('migration'),Sequence=function(){};Sequence[a1145_0x5cd8c7(0x17c)][a1145_0x5cd8c7(0x16a)]=function(_0x290600){const _0x3e551a=a1145_0x5cd8c7;this[_0x3e551a(0x177)]=this[_0x3e551a(0x177)]?this['tail']['finally'](_0x290600):_0x290600();};const Migration=function(_0x2e8277){const _0x2c8e13=a1145_0x5cd8c7;this['queryInterface']=_0x2e8277,this[_0x2c8e13(0x174)]=new Sequence();};Migration['prototype'][a1145_0x5cd8c7(0x17f)]=function(_0x2523bb,_0x18393d,_0x321301){const _0x328244=a1145_0x5cd8c7,_0x51f907=this;this[_0x328244(0x174)][_0x328244(0x16a)](function(){const _0x409f0b=_0x328244;return _0x51f907[_0x409f0b(0x178)][_0x409f0b(0x17f)](_0x2523bb,_0x18393d,_0x321301)[_0x409f0b(0x17b)](function(){logger['info']('Changed\x20column\x20%s\x20in\x20table\x20%s',_0x18393d,_0x2523bb);})[_0x409f0b(0x179)](function(_0x38f7dc){const _0x3262c1=_0x409f0b;logger[_0x3262c1(0x17e)](JSON['stringify'](_0x38f7dc));});});},Migration[a1145_0x5cd8c7(0x17c)][a1145_0x5cd8c7(0x175)]=function(_0x5c9fb,_0x3ebd03,_0x3b966e){const _0x4ca000=a1145_0x5cd8c7,_0x179162=this;this[_0x4ca000(0x174)][_0x4ca000(0x16a)](function(){const _0x458cd5=_0x4ca000;return _0x179162[_0x458cd5(0x178)]['addColumn'](_0x5c9fb,_0x3ebd03,_0x3b966e)['then'](function(){const _0x48d421=_0x458cd5;logger['info'](_0x48d421(0x16f),_0x3ebd03,_0x5c9fb);})[_0x458cd5(0x179)](function(_0x586c22){const _0x263db5=_0x458cd5;logger[_0x263db5(0x17e)](JSON['stringify'](_0x586c22));});});},Migration[a1145_0x5cd8c7(0x17c)][a1145_0x5cd8c7(0x169)]=function(_0x3febf1){const _0x45c089=a1145_0x5cd8c7,_0x13b7bf=this;this[_0x45c089(0x174)][_0x45c089(0x16a)](function(){const _0x43e1d8=_0x45c089;return _0x13b7bf['queryInterface']['dropTable'](_0x3febf1,{'force':!![]})[_0x43e1d8(0x17b)](function(){const _0xbb2987=_0x43e1d8;logger[_0xbb2987(0x17e)](_0xbb2987(0x180),_0x3febf1);})[_0x43e1d8(0x179)](function(_0x4969a2){const _0x57d48b=_0x43e1d8;logger[_0x57d48b(0x17e)](JSON['stringify'](_0x4969a2));});});},Migration[a1145_0x5cd8c7(0x17c)]['addIndex']=function(_0x1a89da,_0x148c20,_0x40d38c){const _0x1bcc2f=a1145_0x5cd8c7,_0x154502=this;this[_0x1bcc2f(0x174)]['enqueue'](function(){const _0x2c3a04=_0x1bcc2f;return _0x154502['queryInterface']['addIndex'](_0x1a89da,_0x148c20,{'indexName':_0x40d38c})[_0x2c3a04(0x17b)](function(){logger['info']('addIndex\x20%s\x20%s\x20%s',_0x1a89da,_0x148c20['join'](','),_0x40d38c);})[_0x2c3a04(0x179)](function(_0x58888a){logger['info'](JSON['stringify'](_0x58888a));});});},Migration[a1145_0x5cd8c7(0x17c)][a1145_0x5cd8c7(0x17a)]=function(_0x51fafd,_0x28ad18){const _0x46dc2f=a1145_0x5cd8c7,_0x4e6a8d=this;this[_0x46dc2f(0x174)][_0x46dc2f(0x16a)](function(){const _0x43f6a1=_0x46dc2f;return _0x4e6a8d[_0x43f6a1(0x178)][_0x43f6a1(0x17a)](_0x51fafd,_0x28ad18)[_0x43f6a1(0x17b)](function(){const _0x1c3fd8=_0x43f6a1;logger[_0x1c3fd8(0x17e)]('removeIndex\x20%s\x20%s',_0x51fafd,_0x28ad18);})[_0x43f6a1(0x179)](function(_0x303eb5){const _0x5d11e7=_0x43f6a1;logger[_0x5d11e7(0x17e)](JSON[_0x5d11e7(0x16b)](_0x303eb5));});});},Migration[a1145_0x5cd8c7(0x17c)]['query']=function(_0x537bd0){const _0x461a00=a1145_0x5cd8c7,_0x143847=this;this['sequence'][_0x461a00(0x16a)](function(){const _0x569efc=_0x461a00;return _0x143847[_0x569efc(0x178)][_0x569efc(0x173)][_0x569efc(0x171)](_0x537bd0)['then'](function(){const _0x3f3b5d=_0x569efc;logger[_0x3f3b5d(0x17e)]('query\x20%s',_0x537bd0);})['catch'](function(_0x321183){const _0x45949e=_0x569efc;logger['info'](JSON[_0x45949e(0x16b)](_0x321183));});});},Migration[a1145_0x5cd8c7(0x17c)]['removeColumn']=function(_0x420312,_0x2d4bd3){const _0x1ad807=a1145_0x5cd8c7,_0x69410e=this;this[_0x1ad807(0x174)][_0x1ad807(0x16a)](function(){const _0x48b461=_0x1ad807;return _0x69410e[_0x48b461(0x178)][_0x48b461(0x176)](_0x420312,_0x2d4bd3)[_0x48b461(0x17b)](function(){const _0x468521=_0x48b461;logger[_0x468521(0x17e)](_0x468521(0x17d),_0x2d4bd3,_0x420312);})[_0x48b461(0x179)](function(_0x57271b){const _0x25bacf=_0x48b461;logger[_0x25bacf(0x17e)](util[_0x25bacf(0x172)](_0x57271b,{'showHidden':![],'depth':null}));});});},Migration['prototype'][a1145_0x5cd8c7(0x16c)]=function(_0x23583b,_0x5d8def,_0x410955){const _0x150a6d=a1145_0x5cd8c7,_0x348cd2=this;this[_0x150a6d(0x174)][_0x150a6d(0x16a)](function(){const _0x45d7cc=_0x150a6d;return _0x348cd2['queryInterface'][_0x45d7cc(0x16c)](_0x23583b,_0x5d8def,_0x410955)[_0x45d7cc(0x17b)](function(){const _0x50d339=_0x45d7cc;logger[_0x50d339(0x17e)]('Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s',_0x5d8def,_0x410955,_0x23583b);})[_0x45d7cc(0x179)](function(_0xcf38a9){const _0x5acaf9=_0x45d7cc;logger[_0x5acaf9(0x17e)](util['inspect'](_0xcf38a9,{'showHidden':![],'depth':null}));});});},Migration[a1145_0x5cd8c7(0x17c)][a1145_0x5cd8c7(0x170)]=function(_0x78426a){const _0x9c530e=a1145_0x5cd8c7;this[_0x9c530e(0x174)]['enqueue'](function(){return _0x78426a();});},module[a1145_0x5cd8c7(0x16e)]={'up':function(_0x471947){return new Promise(function(_0xc157bc){const _0x4224e6=a1145_0x5845,_0x222561=new Migration(_0x471947);_0x222561[_0x4224e6(0x170)](_0xc157bc);});},'down':function(){}};
\ No newline at end of file
+const a1148_0x260c=['dropTable','queryInterface','table\x20dropped\x20%s','removeIndex','removeColumn','stringify','renameColumn','addIndex','sequence','finally','tail','addColumn','query','changeColumn','migration','../config/logger','enqueue','inspect','final','Removed\x20column\x20%s\x20from\x20%s','Added\x20column\x20%s\x20to\x20%s','removeIndex\x20%s\x20%s','catch','prototype','info','sequelize','then'];(function(_0x474ac6,_0x2c5ecd){const _0x260cf0=function(_0x4c30af){while(--_0x4c30af){_0x474ac6['push'](_0x474ac6['shift']());}};_0x260cf0(++_0x2c5ecd);}(a1148_0x260c,0x107));const a1148_0x4c30=function(_0x474ac6,_0x2c5ecd){_0x474ac6=_0x474ac6-0x188;let _0x260cf0=a1148_0x260c[_0x474ac6];return _0x260cf0;};const a1148_0x3bb1dd=a1148_0x4c30;'use strict';const util=require('util'),logger=require(a1148_0x3bb1dd(0x19e))(a1148_0x3bb1dd(0x19d)),Sequence=function(){};Sequence[a1148_0x3bb1dd(0x18b)]['enqueue']=function(_0x399726){const _0x46f59e=a1148_0x3bb1dd;this[_0x46f59e(0x199)]=this[_0x46f59e(0x199)]?this['tail'][_0x46f59e(0x198)](_0x399726):_0x399726();};const Migration=function(_0x382dfd){const _0x90f95f=a1148_0x3bb1dd;this[_0x90f95f(0x190)]=_0x382dfd,this[_0x90f95f(0x197)]=new Sequence();};Migration[a1148_0x3bb1dd(0x18b)][a1148_0x3bb1dd(0x19c)]=function(_0x531b85,_0x174771,_0x208e39){const _0xe2c540=a1148_0x3bb1dd,_0x520495=this;this[_0xe2c540(0x197)][_0xe2c540(0x19f)](function(){const _0x2e9cd1=_0xe2c540;return _0x520495[_0x2e9cd1(0x190)][_0x2e9cd1(0x19c)](_0x531b85,_0x174771,_0x208e39)[_0x2e9cd1(0x18e)](function(){logger['info']('Changed\x20column\x20%s\x20in\x20table\x20%s',_0x174771,_0x531b85);})[_0x2e9cd1(0x18a)](function(_0x5bce61){const _0x191880=_0x2e9cd1;logger[_0x191880(0x18c)](JSON[_0x191880(0x194)](_0x5bce61));});});},Migration['prototype'][a1148_0x3bb1dd(0x19a)]=function(_0x310623,_0x4054f2,_0xd09fbb){const _0x4c8469=a1148_0x3bb1dd,_0x50a3ae=this;this[_0x4c8469(0x197)][_0x4c8469(0x19f)](function(){const _0x2a5f24=_0x4c8469;return _0x50a3ae[_0x2a5f24(0x190)][_0x2a5f24(0x19a)](_0x310623,_0x4054f2,_0xd09fbb)['then'](function(){const _0x4a8e3d=_0x2a5f24;logger[_0x4a8e3d(0x18c)](_0x4a8e3d(0x188),_0x4054f2,_0x310623);})['catch'](function(_0x46ea72){const _0x4c6a21=_0x2a5f24;logger['info'](JSON[_0x4c6a21(0x194)](_0x46ea72));});});},Migration['prototype']['dropTable']=function(_0x43bec3){const _0x4c3c89=a1148_0x3bb1dd,_0x202878=this;this[_0x4c3c89(0x197)][_0x4c3c89(0x19f)](function(){const _0x28d19c=_0x4c3c89;return _0x202878[_0x28d19c(0x190)][_0x28d19c(0x18f)](_0x43bec3,{'force':!![]})[_0x28d19c(0x18e)](function(){const _0x4aaece=_0x28d19c;logger['info'](_0x4aaece(0x191),_0x43bec3);})['catch'](function(_0x5c1024){logger['info'](JSON['stringify'](_0x5c1024));});});},Migration['prototype'][a1148_0x3bb1dd(0x196)]=function(_0x42a66f,_0x33022c,_0x31449c){const _0x8a36b3=a1148_0x3bb1dd,_0x28a187=this;this[_0x8a36b3(0x197)]['enqueue'](function(){const _0x5c2653=_0x8a36b3;return _0x28a187[_0x5c2653(0x190)][_0x5c2653(0x196)](_0x42a66f,_0x33022c,{'indexName':_0x31449c})[_0x5c2653(0x18e)](function(){logger['info']('addIndex\x20%s\x20%s\x20%s',_0x42a66f,_0x33022c['join'](','),_0x31449c);})[_0x5c2653(0x18a)](function(_0x20753b){const _0x9f2ab7=_0x5c2653;logger[_0x9f2ab7(0x18c)](JSON[_0x9f2ab7(0x194)](_0x20753b));});});},Migration[a1148_0x3bb1dd(0x18b)][a1148_0x3bb1dd(0x192)]=function(_0x5a3822,_0x298103){const _0x1d45e3=a1148_0x3bb1dd,_0x3a872b=this;this[_0x1d45e3(0x197)][_0x1d45e3(0x19f)](function(){const _0x231957=_0x1d45e3;return _0x3a872b[_0x231957(0x190)][_0x231957(0x192)](_0x5a3822,_0x298103)[_0x231957(0x18e)](function(){const _0x37c66e=_0x231957;logger[_0x37c66e(0x18c)](_0x37c66e(0x189),_0x5a3822,_0x298103);})[_0x231957(0x18a)](function(_0x33f228){const _0x5c16f0=_0x231957;logger[_0x5c16f0(0x18c)](JSON[_0x5c16f0(0x194)](_0x33f228));});});},Migration['prototype'][a1148_0x3bb1dd(0x19b)]=function(_0x541deb){const _0x545bea=a1148_0x3bb1dd,_0xfacd7d=this;this[_0x545bea(0x197)][_0x545bea(0x19f)](function(){const _0x346b7=_0x545bea;return _0xfacd7d[_0x346b7(0x190)][_0x346b7(0x18d)]['query'](_0x541deb)['then'](function(){const _0x512889=_0x346b7;logger[_0x512889(0x18c)]('query\x20%s',_0x541deb);})[_0x346b7(0x18a)](function(_0x5ba08f){const _0x10e248=_0x346b7;logger[_0x10e248(0x18c)](JSON[_0x10e248(0x194)](_0x5ba08f));});});},Migration[a1148_0x3bb1dd(0x18b)][a1148_0x3bb1dd(0x193)]=function(_0x482b9d,_0x4d75ae){const _0x55ac6a=a1148_0x3bb1dd,_0x1590e7=this;this[_0x55ac6a(0x197)][_0x55ac6a(0x19f)](function(){const _0x3528aa=_0x55ac6a;return _0x1590e7['queryInterface'][_0x3528aa(0x193)](_0x482b9d,_0x4d75ae)[_0x3528aa(0x18e)](function(){const _0x546ff1=_0x3528aa;logger['info'](_0x546ff1(0x1a2),_0x4d75ae,_0x482b9d);})[_0x3528aa(0x18a)](function(_0x24bf81){const _0x5e40a0=_0x3528aa;logger[_0x5e40a0(0x18c)](util[_0x5e40a0(0x1a0)](_0x24bf81,{'showHidden':![],'depth':null}));});});},Migration[a1148_0x3bb1dd(0x18b)][a1148_0x3bb1dd(0x195)]=function(_0x59fce7,_0x4e5ce0,_0x2b131f){const _0x4ad41a=a1148_0x3bb1dd,_0x4abe04=this;this['sequence'][_0x4ad41a(0x19f)](function(){const _0x43087c=_0x4ad41a;return _0x4abe04['queryInterface']['renameColumn'](_0x59fce7,_0x4e5ce0,_0x2b131f)[_0x43087c(0x18e)](function(){const _0x28829c=_0x43087c;logger[_0x28829c(0x18c)]('Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s',_0x4e5ce0,_0x2b131f,_0x59fce7);})[_0x43087c(0x18a)](function(_0x4976cb){const _0x3b11ef=_0x43087c;logger[_0x3b11ef(0x18c)](util[_0x3b11ef(0x1a0)](_0x4976cb,{'showHidden':![],'depth':null}));});});},Migration[a1148_0x3bb1dd(0x18b)][a1148_0x3bb1dd(0x1a1)]=function(_0x44b15b){const _0x2b2cac=a1148_0x3bb1dd;this[_0x2b2cac(0x197)][_0x2b2cac(0x19f)](function(){return _0x44b15b();});},module['exports']={'up':function(_0x45d324){return new Promise(function(_0x4de8c1){const _0xbee8bd=a1148_0x4c30,_0x31b78a=new Migration(_0x45d324);_0x31b78a[_0xbee8bd(0x1a1)](_0x4de8c1);});},'down':function(){}};
\ No newline at end of file