Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / migrations / 2.5.21.js
diff --git a/server/migrations/2.5.21.js b/server/migrations/2.5.21.js
new file mode 100644 (file)
index 0000000..3a10c10
--- /dev/null
@@ -0,0 +1 @@
+'use strict';const a1199_0x4c4e=['removeIndex\x20%s\x20%s','1716183gxEofd','2565793muvuax','catch','enqueue','sequelize','Added\x20column\x20%s\x20to\x20%s','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','info','renameColumn','changeColumn','inspect','1tydasx','queryInterface','stringify','ALTER\x20TABLE\x20team_has_voice_queues\x20ADD\x20COLUMN\x20penalty\x20SMALLINT(3)\x20UNSIGNED\x20DEFAULT\x200\x20FIRST;','then','addIndex','prototype','exports','addIndex\x20%s\x20%s\x20%s','table\x20dropped\x20%s','495810iXCTws','join','removeColumn','1539194OTjAOs','dropTable','1oiyXsd','removeIndex','util','Removed\x20column\x20%s\x20from\x20%s','final','396087IxTgqv','query','sequence','query\x20%s','addColumn','tail','437157uaAMhH','1212936vahKaL'];const a1199_0x10cd=function(_0x1d9645,_0x1ad0a0){_0x1d9645=_0x1d9645-0x8a;let _0x4c4e28=a1199_0x4c4e[_0x1d9645];return _0x4c4e28;};const a1199_0x227461=a1199_0x10cd;(function(_0x44e36e,_0x325f7a){const _0x47a7dd=a1199_0x10cd;while(!![]){try{const _0x485a7d=-parseInt(_0x47a7dd(0x97))+parseInt(_0x47a7dd(0xa7))+-parseInt(_0x47a7dd(0xa5))+-parseInt(_0x47a7dd(0x94))+-parseInt(_0x47a7dd(0x99))*-parseInt(_0x47a7dd(0x9e))+-parseInt(_0x47a7dd(0xa4))+-parseInt(_0x47a7dd(0x8a))*-parseInt(_0x47a7dd(0xa8));if(_0x485a7d===_0x325f7a)break;else _0x44e36e['push'](_0x44e36e['shift']());}catch(_0x2c49bc){_0x44e36e['push'](_0x44e36e['shift']());}}}(a1199_0x4c4e,0xf26c6));const util=require(a1199_0x227461(0x9b)),logger=require('../config/logger')('migration'),Sequence=function(){};Sequence[a1199_0x227461(0x90)][a1199_0x227461(0xaa)]=function(_0x457dba){const _0x3094ed=a1199_0x227461;this[_0x3094ed(0xa3)]=this[_0x3094ed(0xa3)]?this[_0x3094ed(0xa3)]['finally'](_0x457dba):_0x457dba();};const Migration=function(_0x5462fb){const _0x4d429e=a1199_0x227461;this[_0x4d429e(0x8b)]=_0x5462fb,this['sequence']=new Sequence();};Migration[a1199_0x227461(0x90)][a1199_0x227461(0xb0)]=function(_0x52d2e4,_0x5d47c8,_0x304955){const _0x513994=a1199_0x227461,_0x592206=this;this[_0x513994(0xa0)][_0x513994(0xaa)](function(){return _0x592206['queryInterface']['changeColumn'](_0x52d2e4,_0x5d47c8,_0x304955)['then'](function(){logger['info']('Changed\x20column\x20%s\x20in\x20table\x20%s',_0x5d47c8,_0x52d2e4);})['catch'](function(_0x1b2db8){const _0x3d40e0=a1199_0x10cd;logger[_0x3d40e0(0xae)](JSON[_0x3d40e0(0x8c)](_0x1b2db8));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0xa2)]=function(_0x1ab8fc,_0x5c8175,_0x92e1f){const _0x3809fa=a1199_0x227461,_0x5b1c68=this;this[_0x3809fa(0xa0)][_0x3809fa(0xaa)](function(){const _0x2f9831=_0x3809fa;return _0x5b1c68[_0x2f9831(0x8b)][_0x2f9831(0xa2)](_0x1ab8fc,_0x5c8175,_0x92e1f)[_0x2f9831(0x8e)](function(){const _0x5706e6=_0x2f9831;logger[_0x5706e6(0xae)](_0x5706e6(0xac),_0x5c8175,_0x1ab8fc);})['catch'](function(_0x1cafe0){const _0x3d0563=_0x2f9831;logger[_0x3d0563(0xae)](JSON['stringify'](_0x1cafe0));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0x98)]=function(_0x2019cc){const _0x3c2773=a1199_0x227461,_0x427c1f=this;this[_0x3c2773(0xa0)]['enqueue'](function(){const _0x19837b=_0x3c2773;return _0x427c1f[_0x19837b(0x8b)][_0x19837b(0x98)](_0x2019cc,{'force':!![]})[_0x19837b(0x8e)](function(){const _0x2fe04f=_0x19837b;logger[_0x2fe04f(0xae)](_0x2fe04f(0x93),_0x2019cc);})['catch'](function(_0x1360bf){const _0x8f4ecc=_0x19837b;logger['info'](JSON[_0x8f4ecc(0x8c)](_0x1360bf));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0x8f)]=function(_0x3455b1,_0x1fedbb,_0x1a6841){const _0x41b659=a1199_0x227461,_0x2e267b=this;this[_0x41b659(0xa0)][_0x41b659(0xaa)](function(){const _0x12329e=_0x41b659;return _0x2e267b[_0x12329e(0x8b)][_0x12329e(0x8f)](_0x3455b1,_0x1fedbb,{'indexName':_0x1a6841})[_0x12329e(0x8e)](function(){const _0x4204f2=_0x12329e;logger[_0x4204f2(0xae)](_0x4204f2(0x92),_0x3455b1,_0x1fedbb[_0x4204f2(0x95)](','),_0x1a6841);})['catch'](function(_0x1fd732){const _0x4f364b=_0x12329e;logger[_0x4f364b(0xae)](JSON[_0x4f364b(0x8c)](_0x1fd732));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0x9a)]=function(_0xd4788a,_0x619881){const _0x33375c=a1199_0x227461,_0x22c5df=this;this[_0x33375c(0xa0)][_0x33375c(0xaa)](function(){const _0x48a99e=_0x33375c;return _0x22c5df[_0x48a99e(0x8b)][_0x48a99e(0x9a)](_0xd4788a,_0x619881)[_0x48a99e(0x8e)](function(){const _0x15e8f7=_0x48a99e;logger['info'](_0x15e8f7(0xa6),_0xd4788a,_0x619881);})[_0x48a99e(0xa9)](function(_0xd00e0b){const _0x2d4ea6=_0x48a99e;logger[_0x2d4ea6(0xae)](JSON['stringify'](_0xd00e0b));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0x9f)]=function(_0x1af846){const _0x245b39=a1199_0x227461,_0x516a0a=this;this[_0x245b39(0xa0)][_0x245b39(0xaa)](function(){const _0x8d959c=_0x245b39;return _0x516a0a[_0x8d959c(0x8b)][_0x8d959c(0xab)][_0x8d959c(0x9f)](_0x1af846)['then'](function(){const _0x16e9f8=_0x8d959c;logger[_0x16e9f8(0xae)](_0x16e9f8(0xa1),_0x1af846);})['catch'](function(_0x44b688){const _0x6cc1f4=_0x8d959c;logger[_0x6cc1f4(0xae)](JSON[_0x6cc1f4(0x8c)](_0x44b688));});});},Migration['prototype'][a1199_0x227461(0x96)]=function(_0x3e4e90,_0x38dd22){const _0x55bc57=a1199_0x227461,_0x4d21cf=this;this[_0x55bc57(0xa0)][_0x55bc57(0xaa)](function(){const _0x46e85d=_0x55bc57;return _0x4d21cf[_0x46e85d(0x8b)][_0x46e85d(0x96)](_0x3e4e90,_0x38dd22)['then'](function(){const _0x1fe7e2=_0x46e85d;logger['info'](_0x1fe7e2(0x9c),_0x38dd22,_0x3e4e90);})[_0x46e85d(0xa9)](function(_0x4df6aa){const _0x3389eb=_0x46e85d;logger[_0x3389eb(0xae)](util[_0x3389eb(0xb1)](_0x4df6aa,{'showHidden':![],'depth':null}));});});},Migration[a1199_0x227461(0x90)][a1199_0x227461(0xaf)]=function(_0x5187ef,_0x9f20a,_0x323d1e){const _0x2fa2a0=a1199_0x227461,_0x282548=this;this[_0x2fa2a0(0xa0)][_0x2fa2a0(0xaa)](function(){const _0x57f070=_0x2fa2a0;return _0x282548[_0x57f070(0x8b)][_0x57f070(0xaf)](_0x5187ef,_0x9f20a,_0x323d1e)['then'](function(){const _0x1a66b4=_0x57f070;logger[_0x1a66b4(0xae)](_0x1a66b4(0xad),_0x9f20a,_0x323d1e,_0x5187ef);})['catch'](function(_0x5d773c){const _0x123232=_0x57f070;logger[_0x123232(0xae)](util['inspect'](_0x5d773c,{'showHidden':![],'depth':null}));});});},Migration[a1199_0x227461(0x90)]['final']=function(_0x40d408){const _0x53ee1a=a1199_0x227461;this['sequence'][_0x53ee1a(0xaa)](function(){return _0x40d408();});},module[a1199_0x227461(0x91)]={'up':function(_0x6d56cc){return new Promise(function(_0x3acb34){const _0x137446=a1199_0x10cd,_0xb70375=new Migration(_0x6d56cc);_0xb70375[_0x137446(0x9f)](_0x137446(0x8d)),_0xb70375[_0x137446(0x9d)](_0x3acb34);});},'down':function(){return Promise['resolve']();}};
\ No newline at end of file