Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.92.js
index 5eb562e..57802a4 100644 (file)
@@ -1 +1 @@
-const a984_0x3833=['addColumn','finally','removeIndex\x20%s\x20%s','tail','Changed\x20column\x20%s\x20in\x20table\x20%s','catch','then','dropTable','changeColumn','Removed\x20column\x20%s\x20from\x20%s','inspect','Added\x20column\x20%s\x20to\x20%s','renameColumn','removeColumn','queryInterface','util','join','sequence','final','prototype','addIndex\x20%s\x20%s\x20%s','sequelize','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','query\x20%s','enqueue','removeIndex','info','query','exports','addIndex','stringify'];(function(_0x575ec5,_0x3833c8){const _0x235956=function(_0x7469d){while(--_0x7469d){_0x575ec5['push'](_0x575ec5['shift']());}};_0x235956(++_0x3833c8);}(a984_0x3833,0xc8));const a984_0x2359=function(_0x575ec5,_0x3833c8){_0x575ec5=_0x575ec5-0x0;let _0x235956=a984_0x3833[_0x575ec5];return _0x235956;};const _0x27bb82=a984_0x2359;'use strict';const util=require(_0x27bb82('0x1')),logger=require('../config/logger')('migration'),Sequence=function(){};Sequence[_0x27bb82('0x5')][_0x27bb82('0xa')]=function(_0x7469d){const _0x5f21fa=_0x27bb82;this[_0x5f21fa('0x14')]=this[_0x5f21fa('0x14')]?this[_0x5f21fa('0x14')][_0x5f21fa('0x12')](_0x7469d):_0x7469d();};const Migration=function(_0x14aa17){const _0x1e3993=_0x27bb82;this['queryInterface']=_0x14aa17,this[_0x1e3993('0x3')]=new Sequence();};Migration[_0x27bb82('0x5')][_0x27bb82('0x19')]=function(_0x47bb9b,_0x3829ad,_0x49d083){const _0x2dbff5=_0x27bb82,_0x13248e=this;this[_0x2dbff5('0x3')][_0x2dbff5('0xa')](function(){const _0x1f98bd=_0x2dbff5;return _0x13248e[_0x1f98bd('0x0')][_0x1f98bd('0x19')](_0x47bb9b,_0x3829ad,_0x49d083)[_0x1f98bd('0x17')](function(){const _0x537b29=_0x1f98bd;logger[_0x537b29('0xc')](_0x537b29('0x15'),_0x3829ad,_0x47bb9b);})[_0x1f98bd('0x16')](function(_0x2ad8c8){const _0x37d78a=_0x1f98bd;logger[_0x37d78a('0xc')](JSON[_0x37d78a('0x10')](_0x2ad8c8));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0x11')]=function(_0x4184f4,_0x56258d,_0x1a73e7){const _0x132244=_0x27bb82,_0x3ea42e=this;this[_0x132244('0x3')][_0x132244('0xa')](function(){const _0x373641=_0x132244;return _0x3ea42e[_0x373641('0x0')][_0x373641('0x11')](_0x4184f4,_0x56258d,_0x1a73e7)[_0x373641('0x17')](function(){const _0x392185=_0x373641;logger[_0x392185('0xc')](_0x392185('0x1c'),_0x56258d,_0x4184f4);})[_0x373641('0x16')](function(_0x1f51a2){const _0x3dc4ef=_0x373641;logger[_0x3dc4ef('0xc')](JSON[_0x3dc4ef('0x10')](_0x1f51a2));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0x18')]=function(_0x134de4){const _0x3291ce=_0x27bb82,_0x280340=this;this[_0x3291ce('0x3')][_0x3291ce('0xa')](function(){const _0x52beae=_0x3291ce;return _0x280340[_0x52beae('0x0')][_0x52beae('0x18')](_0x134de4,{'force':!![]})[_0x52beae('0x17')](function(){const _0x2b7412=_0x52beae;logger[_0x2b7412('0xc')]('table\x20dropped\x20%s',_0x134de4);})['catch'](function(_0x2799a9){const _0x270ebd=_0x52beae;logger[_0x270ebd('0xc')](JSON[_0x270ebd('0x10')](_0x2799a9));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0xf')]=function(_0x3cd77a,_0x31541a,_0x5ce014){const _0x5af695=_0x27bb82,_0xcb19b6=this;this[_0x5af695('0x3')][_0x5af695('0xa')](function(){const _0x3689a3=_0x5af695;return _0xcb19b6[_0x3689a3('0x0')][_0x3689a3('0xf')](_0x3cd77a,_0x31541a,{'indexName':_0x5ce014})[_0x3689a3('0x17')](function(){const _0x31c1df=_0x3689a3;logger['info'](_0x31c1df('0x6'),_0x3cd77a,_0x31541a[_0x31c1df('0x2')](','),_0x5ce014);})['catch'](function(_0x48fbe7){const _0x500c31=_0x3689a3;logger[_0x500c31('0xc')](JSON[_0x500c31('0x10')](_0x48fbe7));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0xb')]=function(_0x546ec3,_0x53e297){const _0x14cc65=this;this['sequence']['enqueue'](function(){const _0x5db42a=a984_0x2359;return _0x14cc65['queryInterface'][_0x5db42a('0xb')](_0x546ec3,_0x53e297)[_0x5db42a('0x17')](function(){const _0x3fe805=_0x5db42a;logger[_0x3fe805('0xc')](_0x3fe805('0x13'),_0x546ec3,_0x53e297);})[_0x5db42a('0x16')](function(_0x40ac8d){const _0x542d55=_0x5db42a;logger[_0x542d55('0xc')](JSON[_0x542d55('0x10')](_0x40ac8d));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0xd')]=function(_0x172254){const _0x331942=_0x27bb82,_0x3bb244=this;this[_0x331942('0x3')]['enqueue'](function(){const _0x4e2aa8=_0x331942;return _0x3bb244[_0x4e2aa8('0x0')][_0x4e2aa8('0x7')][_0x4e2aa8('0xd')](_0x172254)[_0x4e2aa8('0x17')](function(){const _0x1fd3c8=_0x4e2aa8;logger[_0x1fd3c8('0xc')](_0x1fd3c8('0x9'),_0x172254);})[_0x4e2aa8('0x16')](function(_0xd34b79){const _0x32d3fb=_0x4e2aa8;logger[_0x32d3fb('0xc')](JSON[_0x32d3fb('0x10')](_0xd34b79));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0x1e')]=function(_0x19f3c9,_0x642482){const _0x191e4c=_0x27bb82,_0x44105f=this;this[_0x191e4c('0x3')][_0x191e4c('0xa')](function(){const _0x1dea3e=_0x191e4c;return _0x44105f[_0x1dea3e('0x0')]['removeColumn'](_0x19f3c9,_0x642482)[_0x1dea3e('0x17')](function(){const _0x909bea=_0x1dea3e;logger[_0x909bea('0xc')](_0x909bea('0x1a'),_0x642482,_0x19f3c9);})[_0x1dea3e('0x16')](function(_0x219a4f){const _0x224d08=_0x1dea3e;logger[_0x224d08('0xc')](util[_0x224d08('0x1b')](_0x219a4f,{'showHidden':![],'depth':null}));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0x1d')]=function(_0x4f59ec,_0x1b3048,_0xac2fd0){const _0xb6adb9=_0x27bb82,_0x47470b=this;this[_0xb6adb9('0x3')][_0xb6adb9('0xa')](function(){const _0x225353=_0xb6adb9;return _0x47470b['queryInterface'][_0x225353('0x1d')](_0x4f59ec,_0x1b3048,_0xac2fd0)[_0x225353('0x17')](function(){const _0x4993a1=_0x225353;logger[_0x4993a1('0xc')](_0x4993a1('0x8'),_0x1b3048,_0xac2fd0,_0x4f59ec);})[_0x225353('0x16')](function(_0x30af73){const _0x5cc06d=_0x225353;logger[_0x5cc06d('0xc')](util[_0x5cc06d('0x1b')](_0x30af73,{'showHidden':![],'depth':null}));});});},Migration[_0x27bb82('0x5')][_0x27bb82('0x4')]=function(_0xeb66cb){const _0x11351f=_0x27bb82;this[_0x11351f('0x3')][_0x11351f('0xa')](function(){return _0xeb66cb();});},module[_0x27bb82('0xe')]={'up':function(_0x42b4d0){return new Promise(function(_0x37e189){const _0x2c5353=a984_0x2359,_0x1a22a4=new Migration(_0x42b4d0);_0x1a22a4[_0x2c5353('0x4')](_0x37e189);});},'down':function(){}};
\ No newline at end of file
+const a984_0x5e1b=['stringify','prototype','query\x20%s','Added\x20column\x20%s\x20to\x20%s','info','renameColumn','catch','addColumn','removeIndex\x20%s\x20%s','Removed\x20column\x20%s\x20from\x20%s','enqueue','../config/logger','join','queryInterface','migration','removeIndex','Changed\x20column\x20%s\x20in\x20table\x20%s','finally','sequence','query','changeColumn','final','addIndex','dropTable','table\x20dropped\x20%s','tail','sequelize','removeColumn','then'];(function(_0x25bf5d,_0x5e1b87){const _0x41fa23=function(_0x7c220c){while(--_0x7c220c){_0x25bf5d['push'](_0x25bf5d['shift']());}};_0x41fa23(++_0x5e1b87);}(a984_0x5e1b,0x130));const a984_0x41fa=function(_0x25bf5d,_0x5e1b87){_0x25bf5d=_0x25bf5d-0x0;let _0x41fa23=a984_0x5e1b[_0x25bf5d];return _0x41fa23;};const _0x41e17a=a984_0x41fa;'use strict';const util=require('util'),logger=require(_0x41e17a('0x1a'))(_0x41e17a('0x0')),Sequence=function(){};Sequence[_0x41e17a('0x10')][_0x41e17a('0x19')]=function(_0x7c220c){const _0x29cef4=_0x41e17a;this[_0x29cef4('0xb')]=this[_0x29cef4('0xb')]?this[_0x29cef4('0xb')][_0x29cef4('0x3')](_0x7c220c):_0x7c220c();};const Migration=function(_0x36c93c){const _0x9e282e=_0x41e17a;this[_0x9e282e('0x1c')]=_0x36c93c,this[_0x9e282e('0x4')]=new Sequence();};Migration[_0x41e17a('0x10')][_0x41e17a('0x6')]=function(_0x35b493,_0x565b58,_0x3d956e){const _0x16a9e1=_0x41e17a,_0x142190=this;this[_0x16a9e1('0x4')][_0x16a9e1('0x19')](function(){const _0x3eed99=_0x16a9e1;return _0x142190[_0x3eed99('0x1c')][_0x3eed99('0x6')](_0x35b493,_0x565b58,_0x3d956e)['then'](function(){const _0x34a228=_0x3eed99;logger[_0x34a228('0x13')](_0x34a228('0x2'),_0x565b58,_0x35b493);})['catch'](function(_0x40230c){const _0x4ccb7b=_0x3eed99;logger[_0x4ccb7b('0x13')](JSON[_0x4ccb7b('0xf')](_0x40230c));});});},Migration['prototype'][_0x41e17a('0x16')]=function(_0x1176de,_0x4fb6e6,_0x5d647a){const _0x284ebe=_0x41e17a,_0x18a8ff=this;this[_0x284ebe('0x4')][_0x284ebe('0x19')](function(){const _0x1fb1c5=_0x284ebe;return _0x18a8ff[_0x1fb1c5('0x1c')][_0x1fb1c5('0x16')](_0x1176de,_0x4fb6e6,_0x5d647a)[_0x1fb1c5('0xe')](function(){const _0x20b6c6=_0x1fb1c5;logger[_0x20b6c6('0x13')](_0x20b6c6('0x12'),_0x4fb6e6,_0x1176de);})['catch'](function(_0x5137bf){const _0x1e87a=_0x1fb1c5;logger[_0x1e87a('0x13')](JSON[_0x1e87a('0xf')](_0x5137bf));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x9')]=function(_0x5702b7){const _0x4d086c=_0x41e17a,_0x52284c=this;this[_0x4d086c('0x4')][_0x4d086c('0x19')](function(){const _0x5a73c6=_0x4d086c;return _0x52284c[_0x5a73c6('0x1c')][_0x5a73c6('0x9')](_0x5702b7,{'force':!![]})[_0x5a73c6('0xe')](function(){const _0x2b2bc9=_0x5a73c6;logger[_0x2b2bc9('0x13')](_0x2b2bc9('0xa'),_0x5702b7);})['catch'](function(_0x55837f){const _0xe14f01=_0x5a73c6;logger['info'](JSON[_0xe14f01('0xf')](_0x55837f));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x8')]=function(_0x12e7c1,_0x4bd7a2,_0x42ed60){const _0x4271f8=_0x41e17a,_0x168b0e=this;this[_0x4271f8('0x4')][_0x4271f8('0x19')](function(){const _0x2b349e=_0x4271f8;return _0x168b0e[_0x2b349e('0x1c')][_0x2b349e('0x8')](_0x12e7c1,_0x4bd7a2,{'indexName':_0x42ed60})['then'](function(){const _0x4fea33=_0x2b349e;logger[_0x4fea33('0x13')]('addIndex\x20%s\x20%s\x20%s',_0x12e7c1,_0x4bd7a2[_0x4fea33('0x1b')](','),_0x42ed60);})[_0x2b349e('0x15')](function(_0x4e8454){const _0x33e6d0=_0x2b349e;logger[_0x33e6d0('0x13')](JSON[_0x33e6d0('0xf')](_0x4e8454));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x1')]=function(_0x3c3e8c,_0x435cfd){const _0x56d9bb=_0x41e17a,_0x54fbe4=this;this[_0x56d9bb('0x4')][_0x56d9bb('0x19')](function(){const _0xcdbd4e=_0x56d9bb;return _0x54fbe4[_0xcdbd4e('0x1c')][_0xcdbd4e('0x1')](_0x3c3e8c,_0x435cfd)['then'](function(){const _0x243617=_0xcdbd4e;logger[_0x243617('0x13')](_0x243617('0x17'),_0x3c3e8c,_0x435cfd);})['catch'](function(_0x18acea){const _0x4e7231=_0xcdbd4e;logger[_0x4e7231('0x13')](JSON[_0x4e7231('0xf')](_0x18acea));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x5')]=function(_0x47638e){const _0x4e99b7=_0x41e17a,_0x40c6e9=this;this[_0x4e99b7('0x4')][_0x4e99b7('0x19')](function(){const _0x427fa9=_0x4e99b7;return _0x40c6e9['queryInterface'][_0x427fa9('0xc')][_0x427fa9('0x5')](_0x47638e)[_0x427fa9('0xe')](function(){const _0x502b12=_0x427fa9;logger[_0x502b12('0x13')](_0x502b12('0x11'),_0x47638e);})[_0x427fa9('0x15')](function(_0x2da527){const _0xdd62e5=_0x427fa9;logger['info'](JSON[_0xdd62e5('0xf')](_0x2da527));});});},Migration['prototype']['removeColumn']=function(_0x1b8171,_0xa3908f){const _0x465e3e=_0x41e17a,_0x3a8d69=this;this['sequence'][_0x465e3e('0x19')](function(){const _0x53383b=_0x465e3e;return _0x3a8d69[_0x53383b('0x1c')][_0x53383b('0xd')](_0x1b8171,_0xa3908f)['then'](function(){const _0x28b246=_0x53383b;logger[_0x28b246('0x13')](_0x28b246('0x18'),_0xa3908f,_0x1b8171);})[_0x53383b('0x15')](function(_0x5c6f7a){logger['info'](util['inspect'](_0x5c6f7a,{'showHidden':![],'depth':null}));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x14')]=function(_0x21f816,_0x589eb3,_0x37030b){const _0x4584ef=_0x41e17a,_0x19f586=this;this[_0x4584ef('0x4')][_0x4584ef('0x19')](function(){const _0xf1b971=_0x4584ef;return _0x19f586[_0xf1b971('0x1c')]['renameColumn'](_0x21f816,_0x589eb3,_0x37030b)[_0xf1b971('0xe')](function(){const _0x362864=_0xf1b971;logger[_0x362864('0x13')]('Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s',_0x589eb3,_0x37030b,_0x21f816);})[_0xf1b971('0x15')](function(_0x256931){const _0x1e218b=_0xf1b971;logger[_0x1e218b('0x13')](util['inspect'](_0x256931,{'showHidden':![],'depth':null}));});});},Migration[_0x41e17a('0x10')][_0x41e17a('0x7')]=function(_0x14093c){const _0xaa13=_0x41e17a;this[_0xaa13('0x4')][_0xaa13('0x19')](function(){return _0x14093c();});},module['exports']={'up':function(_0x1455b1){return new Promise(function(_0xdea020){const _0x15e100=a984_0x41fa,_0x2cb4e2=new Migration(_0x1455b1);_0x2cb4e2[_0x15e100('0x7')](_0xdea020);});},'down':function(){}};
\ No newline at end of file