Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.4.js
index 0df5269..a33bd9b 100644 (file)
@@ -1 +1 @@
-const a976_0x4d2c=['queryInterface','prototype','info','dropTable','Changed\x20column\x20%s\x20in\x20table\x20%s','enqueue','Removed\x20column\x20%s\x20from\x20%s','query\x20%s','renameColumn','sequelize','table\x20dropped\x20%s','query','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','../config/logger','sequence','catch','finally','util','exports','addIndex','inspect','join','removeIndex\x20%s\x20%s','Added\x20column\x20%s\x20to\x20%s','final','changeColumn','then','removeColumn','tail','addColumn','stringify'];(function(_0x1d2941,_0x4d2cd3){const _0x186833=function(_0x4a3318){while(--_0x4a3318){_0x1d2941['push'](_0x1d2941['shift']());}};_0x186833(++_0x4d2cd3);}(a976_0x4d2c,0x1d7));const a976_0x1868=function(_0x1d2941,_0x4d2cd3){_0x1d2941=_0x1d2941-0x0;let _0x186833=a976_0x4d2c[_0x1d2941];return _0x186833;};const _0x1def5e=a976_0x1868;'use strict';const util=require(_0x1def5e('0xb')),logger=require(_0x1def5e('0x7'))('migration'),Sequence=function(){};Sequence[_0x1def5e('0x1a')][_0x1def5e('0x1e')]=function(_0x4a3318){const _0x46001b=_0x1def5e;this['tail']=this[_0x46001b('0x16')]?this[_0x46001b('0x16')][_0x46001b('0xa')](_0x4a3318):_0x4a3318();};const Migration=function(_0x4ad320){const _0x4be4f3=_0x1def5e;this[_0x4be4f3('0x19')]=_0x4ad320,this[_0x4be4f3('0x8')]=new Sequence();};Migration[_0x1def5e('0x1a')][_0x1def5e('0x13')]=function(_0x15961e,_0x4e4693,_0x1875c5){const _0x5ea0f4=_0x1def5e,_0x34778d=this;this[_0x5ea0f4('0x8')][_0x5ea0f4('0x1e')](function(){const _0x310d99=_0x5ea0f4;return _0x34778d[_0x310d99('0x19')][_0x310d99('0x13')](_0x15961e,_0x4e4693,_0x1875c5)['then'](function(){const _0xced2d8=_0x310d99;logger[_0xced2d8('0x1b')](_0xced2d8('0x1d'),_0x4e4693,_0x15961e);})[_0x310d99('0x9')](function(_0x1688ab){const _0x8287f=_0x310d99;logger[_0x8287f('0x1b')](JSON[_0x8287f('0x18')](_0x1688ab));});});},Migration[_0x1def5e('0x1a')][_0x1def5e('0x17')]=function(_0x34eacd,_0xdf7666,_0x4d73c6){const _0x3b2ba3=_0x1def5e,_0x121b2b=this;this[_0x3b2ba3('0x8')][_0x3b2ba3('0x1e')](function(){const _0x142eb5=_0x3b2ba3;return _0x121b2b[_0x142eb5('0x19')][_0x142eb5('0x17')](_0x34eacd,_0xdf7666,_0x4d73c6)['then'](function(){const _0x4a7416=_0x142eb5;logger[_0x4a7416('0x1b')](_0x4a7416('0x11'),_0xdf7666,_0x34eacd);})['catch'](function(_0x4c5f88){const _0x5b19b1=_0x142eb5;logger['info'](JSON[_0x5b19b1('0x18')](_0x4c5f88));});});},Migration[_0x1def5e('0x1a')]['dropTable']=function(_0x50b63e){const _0x5c4a6e=_0x1def5e,_0x46d1ff=this;this['sequence'][_0x5c4a6e('0x1e')](function(){const _0x19ff02=_0x5c4a6e;return _0x46d1ff['queryInterface'][_0x19ff02('0x1c')](_0x50b63e,{'force':!![]})[_0x19ff02('0x14')](function(){const _0x8b664=_0x19ff02;logger[_0x8b664('0x1b')](_0x8b664('0x4'),_0x50b63e);})['catch'](function(_0x2d5a4c){const _0x111372=_0x19ff02;logger[_0x111372('0x1b')](JSON[_0x111372('0x18')](_0x2d5a4c));});});},Migration[_0x1def5e('0x1a')][_0x1def5e('0xd')]=function(_0x1f026c,_0x2a8a13,_0x57943f){const _0x2379e1=_0x1def5e,_0x48d236=this;this[_0x2379e1('0x8')][_0x2379e1('0x1e')](function(){const _0x404bdd=_0x2379e1;return _0x48d236[_0x404bdd('0x19')]['addIndex'](_0x1f026c,_0x2a8a13,{'indexName':_0x57943f})[_0x404bdd('0x14')](function(){const _0x1cac07=_0x404bdd;logger[_0x1cac07('0x1b')]('addIndex\x20%s\x20%s\x20%s',_0x1f026c,_0x2a8a13[_0x1cac07('0xf')](','),_0x57943f);})['catch'](function(_0x530055){const _0x58bc11=_0x404bdd;logger['info'](JSON[_0x58bc11('0x18')](_0x530055));});});},Migration[_0x1def5e('0x1a')]['removeIndex']=function(_0x55baaf,_0xd7f965){const _0x5c583a=this;this['sequence']['enqueue'](function(){const _0x2581c9=a976_0x1868;return _0x5c583a['queryInterface']['removeIndex'](_0x55baaf,_0xd7f965)[_0x2581c9('0x14')](function(){const _0xb9ec5a=_0x2581c9;logger['info'](_0xb9ec5a('0x10'),_0x55baaf,_0xd7f965);})[_0x2581c9('0x9')](function(_0x2b1764){logger['info'](JSON['stringify'](_0x2b1764));});});},Migration[_0x1def5e('0x1a')][_0x1def5e('0x5')]=function(_0x5615fd){const _0x1a4614=_0x1def5e,_0x30b701=this;this[_0x1a4614('0x8')][_0x1a4614('0x1e')](function(){const _0x3bb5a0=_0x1a4614;return _0x30b701[_0x3bb5a0('0x19')][_0x3bb5a0('0x3')][_0x3bb5a0('0x5')](_0x5615fd)[_0x3bb5a0('0x14')](function(){const _0x1f602a=_0x3bb5a0;logger[_0x1f602a('0x1b')](_0x1f602a('0x1'),_0x5615fd);})['catch'](function(_0xd65401){const _0xfd3ca6=_0x3bb5a0;logger[_0xfd3ca6('0x1b')](JSON[_0xfd3ca6('0x18')](_0xd65401));});});},Migration['prototype'][_0x1def5e('0x15')]=function(_0x219e01,_0x38f735){const _0x494dc5=_0x1def5e,_0x5e167d=this;this[_0x494dc5('0x8')][_0x494dc5('0x1e')](function(){const _0x34b5aa=_0x494dc5;return _0x5e167d[_0x34b5aa('0x19')][_0x34b5aa('0x15')](_0x219e01,_0x38f735)[_0x34b5aa('0x14')](function(){const _0x1c1cea=_0x34b5aa;logger['info'](_0x1c1cea('0x0'),_0x38f735,_0x219e01);})['catch'](function(_0x1804e8){const _0x3dfa0a=_0x34b5aa;logger[_0x3dfa0a('0x1b')](util[_0x3dfa0a('0xe')](_0x1804e8,{'showHidden':![],'depth':null}));});});},Migration[_0x1def5e('0x1a')]['renameColumn']=function(_0x20ad55,_0x45f48b,_0x14c326){const _0x268312=_0x1def5e,_0x543f75=this;this[_0x268312('0x8')][_0x268312('0x1e')](function(){const _0x3277dd=_0x268312;return _0x543f75['queryInterface'][_0x3277dd('0x2')](_0x20ad55,_0x45f48b,_0x14c326)[_0x3277dd('0x14')](function(){const _0x4e2a31=_0x3277dd;logger[_0x4e2a31('0x1b')](_0x4e2a31('0x6'),_0x45f48b,_0x14c326,_0x20ad55);})[_0x3277dd('0x9')](function(_0x88033c){const _0x1e1195=_0x3277dd;logger['info'](util[_0x1e1195('0xe')](_0x88033c,{'showHidden':![],'depth':null}));});});},Migration[_0x1def5e('0x1a')][_0x1def5e('0x12')]=function(_0x53382e){this['sequence']['enqueue'](function(){return _0x53382e();});},module[_0x1def5e('0xc')]={'up':function(_0x4c971a){return new Promise(function(_0x3effec){const _0x540926=new Migration(_0x4c971a);_0x540926['final'](_0x3effec);});},'down':function(){}};
\ No newline at end of file
+const a1138_0x3b9f=['inspect','removeColumn','final','exports','info','stringify','tail','finally','addIndex','dropTable','util','catch','migration','addColumn','removeIndex','queryInterface','table\x20dropped\x20%s','Added\x20column\x20%s\x20to\x20%s','sequence','prototype','changeColumn','Removed\x20column\x20%s\x20from\x20%s','removeIndex\x20%s\x20%s','../config/logger','renameColumn','Changed\x20column\x20%s\x20in\x20table\x20%s','join','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','then','enqueue','sequelize','query'];(function(_0x4a283b,_0x552187){const _0x3b9f8f=function(_0x3c6fdb){while(--_0x3c6fdb){_0x4a283b['push'](_0x4a283b['shift']());}};_0x3b9f8f(++_0x552187);}(a1138_0x3b9f,0x90));const a1138_0x3c6f=function(_0x4a283b,_0x552187){_0x4a283b=_0x4a283b-0xd7;let _0x3b9f8f=a1138_0x3b9f[_0x4a283b];return _0x3b9f8f;};const a1138_0x30e2ea=a1138_0x3c6f;'use strict';const util=require(a1138_0x30e2ea(0xf1)),logger=require(a1138_0x30e2ea(0xde))(a1138_0x30e2ea(0xf3)),Sequence=function(){};Sequence['prototype'][a1138_0x30e2ea(0xe4)]=function(_0x522acf){const _0x519160=a1138_0x30e2ea;this['tail']=this['tail']?this[_0x519160(0xed)][_0x519160(0xee)](_0x522acf):_0x522acf();};const Migration=function(_0x40c2db){const _0x4127ee=a1138_0x30e2ea;this[_0x4127ee(0xf6)]=_0x40c2db,this['sequence']=new Sequence();};Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xdb)]=function(_0x4fe791,_0x3eb5d2,_0x3a8884){const _0x44013b=a1138_0x30e2ea,_0x34c00f=this;this[_0x44013b(0xd9)][_0x44013b(0xe4)](function(){const _0x38674a=_0x44013b;return _0x34c00f[_0x38674a(0xf6)][_0x38674a(0xdb)](_0x4fe791,_0x3eb5d2,_0x3a8884)[_0x38674a(0xe3)](function(){const _0x5ec71a=_0x38674a;logger[_0x5ec71a(0xeb)](_0x5ec71a(0xe0),_0x3eb5d2,_0x4fe791);})[_0x38674a(0xf2)](function(_0x286865){const _0x267c54=_0x38674a;logger[_0x267c54(0xeb)](JSON[_0x267c54(0xec)](_0x286865));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xf4)]=function(_0x3f7eb3,_0x451e55,_0x26a99e){const _0x3b770f=a1138_0x30e2ea,_0x53cb4f=this;this[_0x3b770f(0xd9)][_0x3b770f(0xe4)](function(){const _0x3021e7=_0x3b770f;return _0x53cb4f[_0x3021e7(0xf6)][_0x3021e7(0xf4)](_0x3f7eb3,_0x451e55,_0x26a99e)['then'](function(){const _0x37dc71=_0x3021e7;logger['info'](_0x37dc71(0xd8),_0x451e55,_0x3f7eb3);})['catch'](function(_0x5da213){const _0x394dd5=_0x3021e7;logger[_0x394dd5(0xeb)](JSON[_0x394dd5(0xec)](_0x5da213));});});},Migration[a1138_0x30e2ea(0xda)]['dropTable']=function(_0x1cc99c){const _0x28f33c=a1138_0x30e2ea,_0x43f263=this;this['sequence'][_0x28f33c(0xe4)](function(){const _0x44f830=_0x28f33c;return _0x43f263[_0x44f830(0xf6)][_0x44f830(0xf0)](_0x1cc99c,{'force':!![]})['then'](function(){const _0x34a049=_0x44f830;logger[_0x34a049(0xeb)](_0x34a049(0xd7),_0x1cc99c);})[_0x44f830(0xf2)](function(_0x5cbd55){const _0x59b17e=_0x44f830;logger[_0x59b17e(0xeb)](JSON['stringify'](_0x5cbd55));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xef)]=function(_0xe5d03f,_0x386d46,_0x560ae2){const _0x40bcab=a1138_0x30e2ea,_0x460c75=this;this[_0x40bcab(0xd9)][_0x40bcab(0xe4)](function(){const _0x4bfa5a=_0x40bcab;return _0x460c75[_0x4bfa5a(0xf6)][_0x4bfa5a(0xef)](_0xe5d03f,_0x386d46,{'indexName':_0x560ae2})[_0x4bfa5a(0xe3)](function(){const _0x4dcc72=_0x4bfa5a;logger[_0x4dcc72(0xeb)]('addIndex\x20%s\x20%s\x20%s',_0xe5d03f,_0x386d46[_0x4dcc72(0xe1)](','),_0x560ae2);})['catch'](function(_0x277685){logger['info'](JSON['stringify'](_0x277685));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xf5)]=function(_0x2b2c6e,_0x36bb95){const _0x2248e8=a1138_0x30e2ea,_0x3c6529=this;this[_0x2248e8(0xd9)]['enqueue'](function(){const _0x41b56a=_0x2248e8;return _0x3c6529[_0x41b56a(0xf6)]['removeIndex'](_0x2b2c6e,_0x36bb95)[_0x41b56a(0xe3)](function(){const _0x57940c=_0x41b56a;logger[_0x57940c(0xeb)](_0x57940c(0xdd),_0x2b2c6e,_0x36bb95);})[_0x41b56a(0xf2)](function(_0x5bc4c2){const _0x2cb93f=_0x41b56a;logger['info'](JSON[_0x2cb93f(0xec)](_0x5bc4c2));});});},Migration['prototype'][a1138_0x30e2ea(0xe6)]=function(_0x51e749){const _0x16c4ad=a1138_0x30e2ea,_0x2c52c9=this;this[_0x16c4ad(0xd9)][_0x16c4ad(0xe4)](function(){const _0x3d6b3d=_0x16c4ad;return _0x2c52c9[_0x3d6b3d(0xf6)][_0x3d6b3d(0xe5)]['query'](_0x51e749)[_0x3d6b3d(0xe3)](function(){const _0x494025=_0x3d6b3d;logger[_0x494025(0xeb)]('query\x20%s',_0x51e749);})['catch'](function(_0x350e9e){const _0x2dc73f=_0x3d6b3d;logger[_0x2dc73f(0xeb)](JSON[_0x2dc73f(0xec)](_0x350e9e));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xe8)]=function(_0x346015,_0x45b35f){const _0x236a4e=a1138_0x30e2ea,_0x156ff3=this;this[_0x236a4e(0xd9)][_0x236a4e(0xe4)](function(){const _0x51d42e=_0x236a4e;return _0x156ff3[_0x51d42e(0xf6)][_0x51d42e(0xe8)](_0x346015,_0x45b35f)[_0x51d42e(0xe3)](function(){const _0x403f59=_0x51d42e;logger[_0x403f59(0xeb)](_0x403f59(0xdc),_0x45b35f,_0x346015);})[_0x51d42e(0xf2)](function(_0xc8fe51){const _0x19e62a=_0x51d42e;logger[_0x19e62a(0xeb)](util[_0x19e62a(0xe7)](_0xc8fe51,{'showHidden':![],'depth':null}));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xdf)]=function(_0x1fa289,_0x466d42,_0x1efc22){const _0x2a9069=a1138_0x30e2ea,_0x162d35=this;this[_0x2a9069(0xd9)]['enqueue'](function(){const _0x69b515=_0x2a9069;return _0x162d35['queryInterface'][_0x69b515(0xdf)](_0x1fa289,_0x466d42,_0x1efc22)['then'](function(){const _0x291e9c=_0x69b515;logger['info'](_0x291e9c(0xe2),_0x466d42,_0x1efc22,_0x1fa289);})[_0x69b515(0xf2)](function(_0x58aea6){const _0x59b2d0=_0x69b515;logger[_0x59b2d0(0xeb)](util[_0x59b2d0(0xe7)](_0x58aea6,{'showHidden':![],'depth':null}));});});},Migration[a1138_0x30e2ea(0xda)][a1138_0x30e2ea(0xe9)]=function(_0x4398e1){const _0x4664ce=a1138_0x30e2ea;this['sequence'][_0x4664ce(0xe4)](function(){return _0x4398e1();});},module[a1138_0x30e2ea(0xea)]={'up':function(_0x4609d2){return new Promise(function(_0x201a5c){const _0xebdea0=a1138_0x3c6f,_0x4d8b51=new Migration(_0x4609d2);_0x4d8b51[_0xebdea0(0xe9)](_0x201a5c);});},'down':function(){}};
\ No newline at end of file