Built motion from commit c49361c37b5f784889c8087ac6e0e91b7e6b561a. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.96.js
index c536d53..c5eb803 100644 (file)
@@ -1 +1 @@
-const a988_0x16ff=['catch','query','info','Added\x20column\x20%s\x20to\x20%s','enqueue','then','inspect','query\x20%s','Removed\x20column\x20%s\x20from\x20%s','addColumn','queryInterface','renameColumn','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','addIndex','migration','changeColumn','final','sequence','util','table\x20dropped\x20%s','../config/logger','stringify','Changed\x20column\x20%s\x20in\x20table\x20%s','tail','sequelize','prototype'];(function(_0x353e03,_0x16ff65){const _0x1257de=function(_0x337c80){while(--_0x337c80){_0x353e03['push'](_0x353e03['shift']());}};_0x1257de(++_0x16ff65);}(a988_0x16ff,0x128));const a988_0x1257=function(_0x353e03,_0x16ff65){_0x353e03=_0x353e03-0x0;let _0x1257de=a988_0x16ff[_0x353e03];return _0x1257de;};const _0x5595b6=a988_0x1257;'use strict';const util=require(_0x5595b6('0x8')),logger=require(_0x5595b6('0xa'))(_0x5595b6('0x4')),Sequence=function(){};Sequence[_0x5595b6('0xf')]['enqueue']=function(_0x337c80){const _0x371034=_0x5595b6;this[_0x371034('0xd')]=this[_0x371034('0xd')]?this[_0x371034('0xd')]['finally'](_0x337c80):_0x337c80();};const Migration=function(_0x27d525){const _0x14b011=_0x5595b6;this[_0x14b011('0x0')]=_0x27d525,this['sequence']=new Sequence();};Migration['prototype'][_0x5595b6('0x5')]=function(_0x185400,_0x1f6ec0,_0x458227){const _0x51800a=_0x5595b6,_0x448eb0=this;this[_0x51800a('0x7')]['enqueue'](function(){const _0x466642=_0x51800a;return _0x448eb0[_0x466642('0x0')][_0x466642('0x5')](_0x185400,_0x1f6ec0,_0x458227)[_0x466642('0x15')](function(){const _0x3bb4d3=_0x466642;logger[_0x3bb4d3('0x12')](_0x3bb4d3('0xc'),_0x1f6ec0,_0x185400);})[_0x466642('0x10')](function(_0x50d544){const _0x254731=_0x466642;logger['info'](JSON[_0x254731('0xb')](_0x50d544));});});},Migration[_0x5595b6('0xf')][_0x5595b6('0x19')]=function(_0x3262b6,_0x174305,_0x297cef){const _0x36a543=_0x5595b6,_0x23f8ac=this;this[_0x36a543('0x7')][_0x36a543('0x14')](function(){const _0x4899d2=_0x36a543;return _0x23f8ac[_0x4899d2('0x0')][_0x4899d2('0x19')](_0x3262b6,_0x174305,_0x297cef)[_0x4899d2('0x15')](function(){const _0x2de0ef=_0x4899d2;logger[_0x2de0ef('0x12')](_0x2de0ef('0x13'),_0x174305,_0x3262b6);})['catch'](function(_0x196000){const _0x41d7a5=_0x4899d2;logger[_0x41d7a5('0x12')](JSON[_0x41d7a5('0xb')](_0x196000));});});},Migration[_0x5595b6('0xf')]['dropTable']=function(_0x328a9c){const _0x5b1be9=_0x5595b6,_0x193155=this;this['sequence'][_0x5b1be9('0x14')](function(){const _0x11f89b=_0x5b1be9;return _0x193155[_0x11f89b('0x0')]['dropTable'](_0x328a9c,{'force':!![]})[_0x11f89b('0x15')](function(){const _0x5213ee=_0x11f89b;logger[_0x5213ee('0x12')](_0x5213ee('0x9'),_0x328a9c);})[_0x11f89b('0x10')](function(_0x18944d){const _0x25ee35=_0x11f89b;logger[_0x25ee35('0x12')](JSON[_0x25ee35('0xb')](_0x18944d));});});},Migration[_0x5595b6('0xf')]['addIndex']=function(_0x2c4a23,_0x14d851,_0x309129){const _0x1608a2=_0x5595b6,_0x2ffe20=this;this[_0x1608a2('0x7')][_0x1608a2('0x14')](function(){const _0x370cd9=_0x1608a2;return _0x2ffe20[_0x370cd9('0x0')][_0x370cd9('0x3')](_0x2c4a23,_0x14d851,{'indexName':_0x309129})[_0x370cd9('0x15')](function(){logger['info']('addIndex\x20%s\x20%s\x20%s',_0x2c4a23,_0x14d851['join'](','),_0x309129);})['catch'](function(_0x14a1cd){const _0x1eda24=_0x370cd9;logger[_0x1eda24('0x12')](JSON['stringify'](_0x14a1cd));});});},Migration[_0x5595b6('0xf')]['removeIndex']=function(_0x244263,_0x5a1870){const _0x139acd=_0x5595b6,_0x5eb63b=this;this[_0x139acd('0x7')][_0x139acd('0x14')](function(){const _0x48be4e=_0x139acd;return _0x5eb63b[_0x48be4e('0x0')]['removeIndex'](_0x244263,_0x5a1870)[_0x48be4e('0x15')](function(){const _0x2b1fd4=_0x48be4e;logger[_0x2b1fd4('0x12')]('removeIndex\x20%s\x20%s',_0x244263,_0x5a1870);})[_0x48be4e('0x10')](function(_0x3988db){const _0x524481=_0x48be4e;logger[_0x524481('0x12')](JSON[_0x524481('0xb')](_0x3988db));});});},Migration[_0x5595b6('0xf')][_0x5595b6('0x11')]=function(_0x8d6fc7){const _0x14f643=_0x5595b6,_0x4e2795=this;this['sequence'][_0x14f643('0x14')](function(){const _0x381964=_0x14f643;return _0x4e2795['queryInterface'][_0x381964('0xe')][_0x381964('0x11')](_0x8d6fc7)[_0x381964('0x15')](function(){const _0xfe4812=_0x381964;logger['info'](_0xfe4812('0x17'),_0x8d6fc7);})[_0x381964('0x10')](function(_0x42bb1a){const _0x153d7b=_0x381964;logger[_0x153d7b('0x12')](JSON[_0x153d7b('0xb')](_0x42bb1a));});});},Migration[_0x5595b6('0xf')]['removeColumn']=function(_0x18c88e,_0x29f105){const _0x19d9e0=_0x5595b6,_0x1f47cd=this;this['sequence'][_0x19d9e0('0x14')](function(){const _0x5a8932=_0x19d9e0;return _0x1f47cd[_0x5a8932('0x0')]['removeColumn'](_0x18c88e,_0x29f105)['then'](function(){const _0x56a0a4=_0x5a8932;logger[_0x56a0a4('0x12')](_0x56a0a4('0x18'),_0x29f105,_0x18c88e);})[_0x5a8932('0x10')](function(_0x33112e){const _0x4130eb=_0x5a8932;logger['info'](util[_0x4130eb('0x16')](_0x33112e,{'showHidden':![],'depth':null}));});});},Migration[_0x5595b6('0xf')][_0x5595b6('0x1')]=function(_0x3fe199,_0x1fcd12,_0x582db8){const _0x2653b6=_0x5595b6,_0x5b6a3c=this;this[_0x2653b6('0x7')][_0x2653b6('0x14')](function(){const _0x10b825=_0x2653b6;return _0x5b6a3c[_0x10b825('0x0')][_0x10b825('0x1')](_0x3fe199,_0x1fcd12,_0x582db8)[_0x10b825('0x15')](function(){const _0x1248d4=_0x10b825;logger[_0x1248d4('0x12')](_0x1248d4('0x2'),_0x1fcd12,_0x582db8,_0x3fe199);})[_0x10b825('0x10')](function(_0x33ee56){const _0x48f394=_0x10b825;logger[_0x48f394('0x12')](util['inspect'](_0x33ee56,{'showHidden':![],'depth':null}));});});},Migration[_0x5595b6('0xf')]['final']=function(_0x35f033){const _0x340638=_0x5595b6;this[_0x340638('0x7')][_0x340638('0x14')](function(){return _0x35f033();});},module['exports']={'up':function(_0x480243,_0x4b42b2){return new Promise(function(_0x2ec09f){const _0xb64a2d=a988_0x1257,_0x247281=new Migration(_0x480243);_0x247281[_0xb64a2d('0x19')]('settings','defaultScreenRecordingPath',{'type':_0x4b42b2['STRING']}),_0x247281[_0xb64a2d('0x6')](_0x2ec09f);});},'down':function(){}};
\ No newline at end of file
+const a988_0x5e4e=['removeIndex\x20%s\x20%s','../config/logger','changeColumn','stringify','query','addColumn','defaultScreenRecordingPath','migration','removeIndex','query\x20%s','catch','inspect','addIndex','then','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','final','renameColumn','prototype','util','addIndex\x20%s\x20%s\x20%s','dropTable','enqueue','exports','Removed\x20column\x20%s\x20from\x20%s','sequelize','removeColumn','queryInterface','sequence','finally','tail','info','settings','Changed\x20column\x20%s\x20in\x20table\x20%s'];(function(_0x2573c8,_0x5e4eb7){const _0x573adc=function(_0x51d5cd){while(--_0x51d5cd){_0x2573c8['push'](_0x2573c8['shift']());}};_0x573adc(++_0x5e4eb7);}(a988_0x5e4e,0x6a));const a988_0x573a=function(_0x2573c8,_0x5e4eb7){_0x2573c8=_0x2573c8-0x0;let _0x573adc=a988_0x5e4e[_0x2573c8];return _0x573adc;};const _0x23ef5a=a988_0x573a;'use strict';const util=require(_0x23ef5a('0xb')),logger=require(_0x23ef5a('0x1b'))(_0x23ef5a('0x0')),Sequence=function(){};Sequence['prototype'][_0x23ef5a('0xe')]=function(_0x51d5cd){const _0x19db04=_0x23ef5a;this[_0x19db04('0x16')]=this[_0x19db04('0x16')]?this[_0x19db04('0x16')][_0x19db04('0x15')](_0x51d5cd):_0x51d5cd();};const Migration=function(_0x1cac80){const _0x7e072f=_0x23ef5a;this[_0x7e072f('0x13')]=_0x1cac80,this[_0x7e072f('0x14')]=new Sequence();};Migration[_0x23ef5a('0xa')][_0x23ef5a('0x1c')]=function(_0xbe5004,_0x41c62e,_0x470b41){const _0x4ee564=_0x23ef5a,_0xd710de=this;this[_0x4ee564('0x14')][_0x4ee564('0xe')](function(){const _0x3f0030=_0x4ee564;return _0xd710de[_0x3f0030('0x13')][_0x3f0030('0x1c')](_0xbe5004,_0x41c62e,_0x470b41)[_0x3f0030('0x6')](function(){const _0x20ef4e=_0x3f0030;logger[_0x20ef4e('0x17')](_0x20ef4e('0x19'),_0x41c62e,_0xbe5004);})['catch'](function(_0x337032){const _0x4d92bc=_0x3f0030;logger['info'](JSON[_0x4d92bc('0x1d')](_0x337032));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x1f')]=function(_0x4abc11,_0x179f65,_0x30870d){const _0x36cd53=_0x23ef5a,_0x3de159=this;this[_0x36cd53('0x14')][_0x36cd53('0xe')](function(){const _0x33449d=_0x36cd53;return _0x3de159['queryInterface'][_0x33449d('0x1f')](_0x4abc11,_0x179f65,_0x30870d)[_0x33449d('0x6')](function(){const _0x35128f=_0x33449d;logger[_0x35128f('0x17')]('Added\x20column\x20%s\x20to\x20%s',_0x179f65,_0x4abc11);})[_0x33449d('0x3')](function(_0x3d3d4a){const _0x1edc66=_0x33449d;logger[_0x1edc66('0x17')](JSON['stringify'](_0x3d3d4a));});});},Migration[_0x23ef5a('0xa')]['dropTable']=function(_0x386a66){const _0x4dda6d=_0x23ef5a,_0x277a00=this;this[_0x4dda6d('0x14')]['enqueue'](function(){const _0x51b1f0=_0x4dda6d;return _0x277a00[_0x51b1f0('0x13')][_0x51b1f0('0xd')](_0x386a66,{'force':!![]})[_0x51b1f0('0x6')](function(){const _0x3703fc=_0x51b1f0;logger[_0x3703fc('0x17')]('table\x20dropped\x20%s',_0x386a66);})[_0x51b1f0('0x3')](function(_0x22b41d){const _0x11c305=_0x51b1f0;logger[_0x11c305('0x17')](JSON[_0x11c305('0x1d')](_0x22b41d));});});},Migration[_0x23ef5a('0xa')]['addIndex']=function(_0x2061a5,_0x78c858,_0x472ee3){const _0x142ad8=_0x23ef5a,_0x5ba8d9=this;this[_0x142ad8('0x14')]['enqueue'](function(){const _0x59d5fb=_0x142ad8;return _0x5ba8d9[_0x59d5fb('0x13')][_0x59d5fb('0x5')](_0x2061a5,_0x78c858,{'indexName':_0x472ee3})[_0x59d5fb('0x6')](function(){const _0x2dd8b3=_0x59d5fb;logger[_0x2dd8b3('0x17')](_0x2dd8b3('0xc'),_0x2061a5,_0x78c858['join'](','),_0x472ee3);})['catch'](function(_0x172d46){const _0x56abfb=_0x59d5fb;logger['info'](JSON[_0x56abfb('0x1d')](_0x172d46));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x1')]=function(_0x234364,_0x5ea974){const _0x1f4014=_0x23ef5a,_0x28d51e=this;this['sequence'][_0x1f4014('0xe')](function(){const _0x339d56=_0x1f4014;return _0x28d51e[_0x339d56('0x13')][_0x339d56('0x1')](_0x234364,_0x5ea974)[_0x339d56('0x6')](function(){const _0x260aa6=_0x339d56;logger[_0x260aa6('0x17')](_0x260aa6('0x1a'),_0x234364,_0x5ea974);})[_0x339d56('0x3')](function(_0x38e846){const _0x5aaf37=_0x339d56;logger[_0x5aaf37('0x17')](JSON['stringify'](_0x38e846));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x1e')]=function(_0xa72a37){const _0x263068=_0x23ef5a,_0x2c29f5=this;this[_0x263068('0x14')][_0x263068('0xe')](function(){const _0x42eea0=_0x263068;return _0x2c29f5[_0x42eea0('0x13')][_0x42eea0('0x11')]['query'](_0xa72a37)[_0x42eea0('0x6')](function(){const _0x24a3ea=_0x42eea0;logger[_0x24a3ea('0x17')](_0x24a3ea('0x2'),_0xa72a37);})['catch'](function(_0x1fde26){const _0x49a9ee=_0x42eea0;logger[_0x49a9ee('0x17')](JSON[_0x49a9ee('0x1d')](_0x1fde26));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x12')]=function(_0x4379e7,_0x445af2){const _0x4b3e2f=_0x23ef5a,_0x3a023c=this;this[_0x4b3e2f('0x14')]['enqueue'](function(){const _0x94e14c=_0x4b3e2f;return _0x3a023c[_0x94e14c('0x13')][_0x94e14c('0x12')](_0x4379e7,_0x445af2)['then'](function(){const _0x522bb6=_0x94e14c;logger[_0x522bb6('0x17')](_0x522bb6('0x10'),_0x445af2,_0x4379e7);})['catch'](function(_0x4d9425){const _0x206f11=_0x94e14c;logger[_0x206f11('0x17')](util[_0x206f11('0x4')](_0x4d9425,{'showHidden':![],'depth':null}));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x9')]=function(_0x1e14a9,_0x5ad771,_0x5e59ce){const _0x4887fb=_0x23ef5a,_0x149886=this;this['sequence'][_0x4887fb('0xe')](function(){const _0x289b40=_0x4887fb;return _0x149886['queryInterface'][_0x289b40('0x9')](_0x1e14a9,_0x5ad771,_0x5e59ce)[_0x289b40('0x6')](function(){const _0x294732=_0x289b40;logger[_0x294732('0x17')](_0x294732('0x7'),_0x5ad771,_0x5e59ce,_0x1e14a9);})[_0x289b40('0x3')](function(_0x3812ce){const _0x19b297=_0x289b40;logger[_0x19b297('0x17')](util[_0x19b297('0x4')](_0x3812ce,{'showHidden':![],'depth':null}));});});},Migration[_0x23ef5a('0xa')][_0x23ef5a('0x8')]=function(_0x304a1c){const _0x213944=_0x23ef5a;this[_0x213944('0x14')][_0x213944('0xe')](function(){return _0x304a1c();});},module[_0x23ef5a('0xf')]={'up':function(_0x48737b,_0x54a75f){return new Promise(function(_0x1f204b){const _0x482a1c=a988_0x573a,_0x2737b3=new Migration(_0x48737b);_0x2737b3[_0x482a1c('0x1f')](_0x482a1c('0x18'),_0x482a1c('0x20'),{'type':_0x54a75f['STRING']}),_0x2737b3[_0x482a1c('0x8')](_0x1f204b);});},'down':function(){}};
\ No newline at end of file