Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.92.js
index 66a09b8..cd2130f 100644 (file)
@@ -1 +1 @@
-const a984_0x3acb=['query','query\x20%s','removeIndex\x20%s\x20%s','prototype','finally','addIndex','sequelize','queryInterface','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','dropTable','addColumn','stringify','sequence','join','changeColumn','catch','Changed\x20column\x20%s\x20in\x20table\x20%s','enqueue','tail','then','Removed\x20column\x20%s\x20from\x20%s','inspect','info','removeColumn','util','migration','removeIndex','addIndex\x20%s\x20%s\x20%s','final'];(function(_0x578174,_0x3acb6f){const _0x2e80b1=function(_0x2916b2){while(--_0x2916b2){_0x578174['push'](_0x578174['shift']());}};_0x2e80b1(++_0x3acb6f);}(a984_0x3acb,0x195));const a984_0x2e80=function(_0x578174,_0x3acb6f){_0x578174=_0x578174-0x0;let _0x2e80b1=a984_0x3acb[_0x578174];return _0x2e80b1;};const _0x19eb19=a984_0x2e80;'use strict';const util=require(_0x19eb19('0x19')),logger=require('../config/logger')(_0x19eb19('0x1a')),Sequence=function(){};Sequence[_0x19eb19('0x4')][_0x19eb19('0x12')]=function(_0x2916b2){const _0xfedc52=_0x19eb19;this['tail']=this[_0xfedc52('0x13')]?this[_0xfedc52('0x13')][_0xfedc52('0x5')](_0x2916b2):_0x2916b2();};const Migration=function(_0x5a9d9e){const _0xec6d99=_0x19eb19;this['queryInterface']=_0x5a9d9e,this[_0xec6d99('0xd')]=new Sequence();};Migration[_0x19eb19('0x4')][_0x19eb19('0xf')]=function(_0x47e4a7,_0x178896,_0x4de6c7){const _0xd3ddfc=_0x19eb19,_0x1f25f3=this;this[_0xd3ddfc('0xd')][_0xd3ddfc('0x12')](function(){const _0x2a4a18=_0xd3ddfc;return _0x1f25f3[_0x2a4a18('0x8')][_0x2a4a18('0xf')](_0x47e4a7,_0x178896,_0x4de6c7)['then'](function(){const _0x2ea9d5=_0x2a4a18;logger[_0x2ea9d5('0x17')](_0x2ea9d5('0x11'),_0x178896,_0x47e4a7);})[_0x2a4a18('0x10')](function(_0x350c7d){logger['info'](JSON['stringify'](_0x350c7d));});});},Migration[_0x19eb19('0x4')][_0x19eb19('0xb')]=function(_0x3d1e70,_0x56ae7a,_0x50db04){const _0x2216bf=_0x19eb19,_0x1b3cf5=this;this[_0x2216bf('0xd')][_0x2216bf('0x12')](function(){const _0x21af59=_0x2216bf;return _0x1b3cf5[_0x21af59('0x8')][_0x21af59('0xb')](_0x3d1e70,_0x56ae7a,_0x50db04)[_0x21af59('0x14')](function(){logger['info']('Added\x20column\x20%s\x20to\x20%s',_0x56ae7a,_0x3d1e70);})[_0x21af59('0x10')](function(_0x5c45ce){const _0xe0c2d7=_0x21af59;logger[_0xe0c2d7('0x17')](JSON['stringify'](_0x5c45ce));});});},Migration[_0x19eb19('0x4')]['dropTable']=function(_0x58e9a3){const _0x5862ce=_0x19eb19,_0xb71d59=this;this[_0x5862ce('0xd')][_0x5862ce('0x12')](function(){const _0x552d02=_0x5862ce;return _0xb71d59[_0x552d02('0x8')][_0x552d02('0xa')](_0x58e9a3,{'force':!![]})[_0x552d02('0x14')](function(){const _0x4787c1=_0x552d02;logger[_0x4787c1('0x17')]('table\x20dropped\x20%s',_0x58e9a3);})[_0x552d02('0x10')](function(_0x34670b){const _0x54ade0=_0x552d02;logger[_0x54ade0('0x17')](JSON[_0x54ade0('0xc')](_0x34670b));});});},Migration['prototype'][_0x19eb19('0x6')]=function(_0x4fdb48,_0x19ef4e,_0x1fa6f6){const _0x248c27=_0x19eb19,_0x32839e=this;this[_0x248c27('0xd')][_0x248c27('0x12')](function(){const _0x4638a6=_0x248c27;return _0x32839e[_0x4638a6('0x8')][_0x4638a6('0x6')](_0x4fdb48,_0x19ef4e,{'indexName':_0x1fa6f6})['then'](function(){const _0x4d1856=_0x4638a6;logger[_0x4d1856('0x17')](_0x4d1856('0x1c'),_0x4fdb48,_0x19ef4e[_0x4d1856('0xe')](','),_0x1fa6f6);})[_0x4638a6('0x10')](function(_0x74eb67){const _0x394007=_0x4638a6;logger[_0x394007('0x17')](JSON[_0x394007('0xc')](_0x74eb67));});});},Migration['prototype'][_0x19eb19('0x1b')]=function(_0x4526d3,_0x44fb14){const _0x5ab6bb=_0x19eb19,_0x3870f4=this;this[_0x5ab6bb('0xd')][_0x5ab6bb('0x12')](function(){const _0x49dcd1=_0x5ab6bb;return _0x3870f4['queryInterface'][_0x49dcd1('0x1b')](_0x4526d3,_0x44fb14)[_0x49dcd1('0x14')](function(){const _0x77f2ed=_0x49dcd1;logger[_0x77f2ed('0x17')](_0x77f2ed('0x3'),_0x4526d3,_0x44fb14);})['catch'](function(_0x4c0984){const _0x165cc7=_0x49dcd1;logger[_0x165cc7('0x17')](JSON[_0x165cc7('0xc')](_0x4c0984));});});},Migration[_0x19eb19('0x4')][_0x19eb19('0x1')]=function(_0x978d0e){const _0x48f6f5=_0x19eb19,_0x113c25=this;this[_0x48f6f5('0xd')][_0x48f6f5('0x12')](function(){const _0x1313f9=_0x48f6f5;return _0x113c25[_0x1313f9('0x8')][_0x1313f9('0x7')][_0x1313f9('0x1')](_0x978d0e)[_0x1313f9('0x14')](function(){const _0x159fff=_0x1313f9;logger[_0x159fff('0x17')](_0x159fff('0x2'),_0x978d0e);})[_0x1313f9('0x10')](function(_0x30e3b6){logger['info'](JSON['stringify'](_0x30e3b6));});});},Migration[_0x19eb19('0x4')][_0x19eb19('0x18')]=function(_0x4c1190,_0x2a90cc){const _0x9e9b00=_0x19eb19,_0x969920=this;this['sequence'][_0x9e9b00('0x12')](function(){const _0x3259ee=_0x9e9b00;return _0x969920['queryInterface']['removeColumn'](_0x4c1190,_0x2a90cc)[_0x3259ee('0x14')](function(){const _0xae706b=_0x3259ee;logger['info'](_0xae706b('0x15'),_0x2a90cc,_0x4c1190);})[_0x3259ee('0x10')](function(_0x4a7549){const _0x11a573=_0x3259ee;logger[_0x11a573('0x17')](util['inspect'](_0x4a7549,{'showHidden':![],'depth':null}));});});},Migration[_0x19eb19('0x4')]['renameColumn']=function(_0x273a80,_0x2265a6,_0xf1e8c5){const _0x2b6f93=_0x19eb19,_0x56bcdb=this;this[_0x2b6f93('0xd')][_0x2b6f93('0x12')](function(){const _0x222072=_0x2b6f93;return _0x56bcdb[_0x222072('0x8')]['renameColumn'](_0x273a80,_0x2265a6,_0xf1e8c5)['then'](function(){const _0xb9f004=_0x222072;logger[_0xb9f004('0x17')](_0xb9f004('0x9'),_0x2265a6,_0xf1e8c5,_0x273a80);})['catch'](function(_0x4f8717){const _0x585e6f=_0x222072;logger['info'](util[_0x585e6f('0x16')](_0x4f8717,{'showHidden':![],'depth':null}));});});},Migration['prototype'][_0x19eb19('0x0')]=function(_0x102ebc){const _0x9433bb=_0x19eb19;this[_0x9433bb('0xd')][_0x9433bb('0x12')](function(){return _0x102ebc();});},module['exports']={'up':function(_0x547fe3){return new Promise(function(_0x44bda7){const _0x38f816=a984_0x2e80,_0x4f136f=new Migration(_0x547fe3);_0x4f136f[_0x38f816('0x0')](_0x44bda7);});},'down':function(){}};
\ No newline at end of file
+const a984_0x1204=['queryInterface','final','exports','info','tail','removeColumn','dropTable','Added\x20column\x20%s\x20to\x20%s','removeIndex','enqueue','Removed\x20column\x20%s\x20from\x20%s','addColumn','inspect','removeIndex\x20%s\x20%s','then','renameColumn','Changed\x20column\x20%s\x20in\x20table\x20%s','addIndex\x20%s\x20%s\x20%s','changeColumn','join','table\x20dropped\x20%s','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','prototype','query','stringify','sequence','addIndex','catch','migration','util','sequelize'];(function(_0x1a2ac1,_0x12041b){const _0x5f1a8b=function(_0x1911b8){while(--_0x1911b8){_0x1a2ac1['push'](_0x1a2ac1['shift']());}};_0x5f1a8b(++_0x12041b);}(a984_0x1204,0x19a));const a984_0x5f1a=function(_0x1a2ac1,_0x12041b){_0x1a2ac1=_0x1a2ac1-0x0;let _0x5f1a8b=a984_0x1204[_0x1a2ac1];return _0x5f1a8b;};const _0x57296a=a984_0x5f1a;'use strict';const util=require(_0x57296a('0x16')),logger=require('../config/logger')(_0x57296a('0x15')),Sequence=function(){};Sequence[_0x57296a('0xf')][_0x57296a('0x2')]=function(_0x1911b8){const _0x46acb7=_0x57296a;this['tail']=this['tail']?this[_0x46acb7('0x1c')]['finally'](_0x1911b8):_0x1911b8();};const Migration=function(_0x4a446a){const _0xd48c0c=_0x57296a;this[_0xd48c0c('0x18')]=_0x4a446a,this['sequence']=new Sequence();};Migration[_0x57296a('0xf')][_0x57296a('0xb')]=function(_0x1183ce,_0x2f765a,_0x13d007){const _0x492776=_0x57296a,_0x2b7c80=this;this['sequence'][_0x492776('0x2')](function(){const _0x95c027=_0x492776;return _0x2b7c80[_0x95c027('0x18')][_0x95c027('0xb')](_0x1183ce,_0x2f765a,_0x13d007)[_0x95c027('0x7')](function(){const _0x212a1f=_0x95c027;logger[_0x212a1f('0x1b')](_0x212a1f('0x9'),_0x2f765a,_0x1183ce);})['catch'](function(_0x9b65f2){const _0x2eea51=_0x95c027;logger[_0x2eea51('0x1b')](JSON[_0x2eea51('0x11')](_0x9b65f2));});});},Migration[_0x57296a('0xf')][_0x57296a('0x4')]=function(_0x27a0c1,_0x6f2634,_0x21b4f5){const _0x1ef8b7=_0x57296a,_0xc756cd=this;this[_0x1ef8b7('0x12')]['enqueue'](function(){const _0x334afa=_0x1ef8b7;return _0xc756cd['queryInterface'][_0x334afa('0x4')](_0x27a0c1,_0x6f2634,_0x21b4f5)[_0x334afa('0x7')](function(){const _0x5b450a=_0x334afa;logger[_0x5b450a('0x1b')](_0x5b450a('0x0'),_0x6f2634,_0x27a0c1);})[_0x334afa('0x14')](function(_0x4989cb){const _0x4bdc8a=_0x334afa;logger[_0x4bdc8a('0x1b')](JSON[_0x4bdc8a('0x11')](_0x4989cb));});});},Migration[_0x57296a('0xf')][_0x57296a('0x1e')]=function(_0x26ab3f){const _0x25dd18=_0x57296a,_0x39c865=this;this[_0x25dd18('0x12')][_0x25dd18('0x2')](function(){const _0x3fbb4d=_0x25dd18;return _0x39c865['queryInterface'][_0x3fbb4d('0x1e')](_0x26ab3f,{'force':!![]})['then'](function(){const _0x1e3afa=_0x3fbb4d;logger['info'](_0x1e3afa('0xd'),_0x26ab3f);})[_0x3fbb4d('0x14')](function(_0x4914a2){const _0x24f5da=_0x3fbb4d;logger['info'](JSON[_0x24f5da('0x11')](_0x4914a2));});});},Migration[_0x57296a('0xf')][_0x57296a('0x13')]=function(_0x245eae,_0x200a8e,_0x59ff7a){const _0x79b0ba=_0x57296a,_0x417db2=this;this[_0x79b0ba('0x12')]['enqueue'](function(){const _0x50c4d2=_0x79b0ba;return _0x417db2[_0x50c4d2('0x18')]['addIndex'](_0x245eae,_0x200a8e,{'indexName':_0x59ff7a})[_0x50c4d2('0x7')](function(){const _0x78ce33=_0x50c4d2;logger[_0x78ce33('0x1b')](_0x78ce33('0xa'),_0x245eae,_0x200a8e[_0x78ce33('0xc')](','),_0x59ff7a);})[_0x50c4d2('0x14')](function(_0x2bd452){const _0xe58918=_0x50c4d2;logger[_0xe58918('0x1b')](JSON[_0xe58918('0x11')](_0x2bd452));});});},Migration[_0x57296a('0xf')][_0x57296a('0x1')]=function(_0x46c96e,_0x5a52b5){const _0x3c475d=_0x57296a,_0x35ac3f=this;this['sequence'][_0x3c475d('0x2')](function(){const _0x7e158b=_0x3c475d;return _0x35ac3f[_0x7e158b('0x18')]['removeIndex'](_0x46c96e,_0x5a52b5)[_0x7e158b('0x7')](function(){const _0x29466e=_0x7e158b;logger[_0x29466e('0x1b')](_0x29466e('0x6'),_0x46c96e,_0x5a52b5);})[_0x7e158b('0x14')](function(_0x1e245d){const _0x15b8a4=_0x7e158b;logger[_0x15b8a4('0x1b')](JSON[_0x15b8a4('0x11')](_0x1e245d));});});},Migration[_0x57296a('0xf')][_0x57296a('0x10')]=function(_0x3ae44c){const _0x4b64a5=_0x57296a,_0x1e679e=this;this[_0x4b64a5('0x12')][_0x4b64a5('0x2')](function(){const _0x59741c=_0x4b64a5;return _0x1e679e['queryInterface'][_0x59741c('0x17')][_0x59741c('0x10')](_0x3ae44c)['then'](function(){const _0x4edbe5=_0x59741c;logger[_0x4edbe5('0x1b')]('query\x20%s',_0x3ae44c);})[_0x59741c('0x14')](function(_0x2de19b){const _0x22e339=_0x59741c;logger[_0x22e339('0x1b')](JSON[_0x22e339('0x11')](_0x2de19b));});});},Migration[_0x57296a('0xf')][_0x57296a('0x1d')]=function(_0xc64a4f,_0x5a27a6){const _0x1d8bbc=_0x57296a,_0x15eb33=this;this[_0x1d8bbc('0x12')][_0x1d8bbc('0x2')](function(){const _0x44622f=_0x1d8bbc;return _0x15eb33[_0x44622f('0x18')][_0x44622f('0x1d')](_0xc64a4f,_0x5a27a6)['then'](function(){const _0x32821d=_0x44622f;logger[_0x32821d('0x1b')](_0x32821d('0x3'),_0x5a27a6,_0xc64a4f);})[_0x44622f('0x14')](function(_0x2ede2c){const _0x3b06ed=_0x44622f;logger[_0x3b06ed('0x1b')](util[_0x3b06ed('0x5')](_0x2ede2c,{'showHidden':![],'depth':null}));});});},Migration[_0x57296a('0xf')][_0x57296a('0x8')]=function(_0x17b3a3,_0x54548f,_0x1f16be){const _0x1ae499=_0x57296a,_0x44da3f=this;this[_0x1ae499('0x12')][_0x1ae499('0x2')](function(){const _0x84c68c=_0x1ae499;return _0x44da3f[_0x84c68c('0x18')][_0x84c68c('0x8')](_0x17b3a3,_0x54548f,_0x1f16be)['then'](function(){const _0x5b61c8=_0x84c68c;logger[_0x5b61c8('0x1b')](_0x5b61c8('0xe'),_0x54548f,_0x1f16be,_0x17b3a3);})['catch'](function(_0x5df42f){const _0x50f171=_0x84c68c;logger[_0x50f171('0x1b')](util[_0x50f171('0x5')](_0x5df42f,{'showHidden':![],'depth':null}));});});},Migration[_0x57296a('0xf')][_0x57296a('0x19')]=function(_0x413c93){const _0x32ffd6=_0x57296a;this[_0x32ffd6('0x12')][_0x32ffd6('0x2')](function(){return _0x413c93();});},module[_0x57296a('0x1a')]={'up':function(_0xca3871){return new Promise(function(_0xab140d){const _0x247645=a984_0x5f1a,_0x330a08=new Migration(_0xca3871);_0x330a08[_0x247645('0x19')](_0xab140d);});},'down':function(){}};
\ No newline at end of file