Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / migrations / 2.3.95.js
index df439cf..c9b1ce8 100644 (file)
@@ -1 +1 @@
-const a987_0x231c=['migration','dropTable','addIndex\x20%s\x20%s\x20%s','final','sequelize','stringify','queryInterface','inspect','query','removeIndex\x20%s\x20%s','catch','tail','util','info','join','removeIndex','Added\x20column\x20%s\x20to\x20%s','sequence','table\x20dropped\x20%s','prototype','finally','removeColumn','addColumn','query\x20%s','then','../config/logger','enqueue','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','addIndex','Removed\x20column\x20%s\x20from\x20%s','Changed\x20column\x20%s\x20in\x20table\x20%s','renameColumn','changeColumn'];(function(_0x476636,_0x231c6e){const _0x16d4a4=function(_0x2d4079){while(--_0x2d4079){_0x476636['push'](_0x476636['shift']());}};_0x16d4a4(++_0x231c6e);}(a987_0x231c,0x11c));const a987_0x16d4=function(_0x476636,_0x231c6e){_0x476636=_0x476636-0x0;let _0x16d4a4=a987_0x231c[_0x476636];return _0x16d4a4;};const _0x1d8bda=a987_0x16d4;'use strict';const util=require(_0x1d8bda('0x19')),logger=require(_0x1d8bda('0x5'))(_0x1d8bda('0xd')),Sequence=function(){};Sequence[_0x1d8bda('0x20')]['enqueue']=function(_0x2d4079){const _0x3891c2=_0x1d8bda;this[_0x3891c2('0x18')]=this[_0x3891c2('0x18')]?this[_0x3891c2('0x18')][_0x3891c2('0x0')](_0x2d4079):_0x2d4079();};const Migration=function(_0x35655a){const _0x38bd8a=_0x1d8bda;this[_0x38bd8a('0x13')]=_0x35655a,this[_0x38bd8a('0x1e')]=new Sequence();};Migration['prototype'][_0x1d8bda('0xc')]=function(_0x260ac7,_0xaa6ebd,_0x206069){const _0x3c66e7=_0x1d8bda,_0x16c800=this;this['sequence'][_0x3c66e7('0x6')](function(){const _0x309a21=_0x3c66e7;return _0x16c800[_0x309a21('0x13')][_0x309a21('0xc')](_0x260ac7,_0xaa6ebd,_0x206069)[_0x309a21('0x4')](function(){const _0x23a614=_0x309a21;logger[_0x23a614('0x1a')](_0x23a614('0xa'),_0xaa6ebd,_0x260ac7);})['catch'](function(_0x2e18fc){logger['info'](JSON['stringify'](_0x2e18fc));});});},Migration[_0x1d8bda('0x20')][_0x1d8bda('0x2')]=function(_0x49cf75,_0x1ecd16,_0x43e3c1){const _0x56f9b9=_0x1d8bda,_0x1c4e7d=this;this[_0x56f9b9('0x1e')][_0x56f9b9('0x6')](function(){const _0x4c6100=_0x56f9b9;return _0x1c4e7d[_0x4c6100('0x13')]['addColumn'](_0x49cf75,_0x1ecd16,_0x43e3c1)[_0x4c6100('0x4')](function(){const _0x73edfd=_0x4c6100;logger[_0x73edfd('0x1a')](_0x73edfd('0x1d'),_0x1ecd16,_0x49cf75);})[_0x4c6100('0x17')](function(_0x250115){const _0x29e3ae=_0x4c6100;logger[_0x29e3ae('0x1a')](JSON[_0x29e3ae('0x12')](_0x250115));});});},Migration[_0x1d8bda('0x20')][_0x1d8bda('0xe')]=function(_0x550be7){const _0x37cb6b=_0x1d8bda,_0x5cbdd9=this;this[_0x37cb6b('0x1e')][_0x37cb6b('0x6')](function(){const _0x339e14=_0x37cb6b;return _0x5cbdd9[_0x339e14('0x13')]['dropTable'](_0x550be7,{'force':!![]})[_0x339e14('0x4')](function(){const _0x22a52e=_0x339e14;logger[_0x22a52e('0x1a')](_0x22a52e('0x1f'),_0x550be7);})[_0x339e14('0x17')](function(_0x4b8814){const _0x15d78a=_0x339e14;logger[_0x15d78a('0x1a')](JSON['stringify'](_0x4b8814));});});},Migration['prototype'][_0x1d8bda('0x8')]=function(_0x587ac5,_0x20b4ee,_0x277fcd){const _0x43dad3=_0x1d8bda,_0x374091=this;this[_0x43dad3('0x1e')][_0x43dad3('0x6')](function(){const _0x500db7=_0x43dad3;return _0x374091[_0x500db7('0x13')]['addIndex'](_0x587ac5,_0x20b4ee,{'indexName':_0x277fcd})[_0x500db7('0x4')](function(){const _0x1df914=_0x500db7;logger[_0x1df914('0x1a')](_0x1df914('0xf'),_0x587ac5,_0x20b4ee[_0x1df914('0x1b')](','),_0x277fcd);})['catch'](function(_0x1b7c45){const _0x21321a=_0x500db7;logger[_0x21321a('0x1a')](JSON[_0x21321a('0x12')](_0x1b7c45));});});},Migration['prototype']['removeIndex']=function(_0xa135cc,_0x4ec5cd){const _0x20ea48=_0x1d8bda,_0x5d7adf=this;this[_0x20ea48('0x1e')]['enqueue'](function(){const _0x2bc1c8=_0x20ea48;return _0x5d7adf['queryInterface'][_0x2bc1c8('0x1c')](_0xa135cc,_0x4ec5cd)[_0x2bc1c8('0x4')](function(){const _0x5a234d=_0x2bc1c8;logger[_0x5a234d('0x1a')](_0x5a234d('0x16'),_0xa135cc,_0x4ec5cd);})[_0x2bc1c8('0x17')](function(_0x3ead7f){const _0x209ec5=_0x2bc1c8;logger[_0x209ec5('0x1a')](JSON[_0x209ec5('0x12')](_0x3ead7f));});});},Migration[_0x1d8bda('0x20')][_0x1d8bda('0x15')]=function(_0x34256a){const _0x3024c7=_0x1d8bda,_0x1fc3ae=this;this[_0x3024c7('0x1e')]['enqueue'](function(){const _0x2e1b63=_0x3024c7;return _0x1fc3ae[_0x2e1b63('0x13')][_0x2e1b63('0x11')]['query'](_0x34256a)['then'](function(){const _0x561125=_0x2e1b63;logger[_0x561125('0x1a')](_0x561125('0x3'),_0x34256a);})[_0x2e1b63('0x17')](function(_0x5e2d29){logger['info'](JSON['stringify'](_0x5e2d29));});});},Migration[_0x1d8bda('0x20')]['removeColumn']=function(_0x65671e,_0x9fc6a8){const _0x1ab460=_0x1d8bda,_0x4efe57=this;this[_0x1ab460('0x1e')][_0x1ab460('0x6')](function(){const _0x44fdcf=_0x1ab460;return _0x4efe57['queryInterface'][_0x44fdcf('0x1')](_0x65671e,_0x9fc6a8)[_0x44fdcf('0x4')](function(){const _0x487904=_0x44fdcf;logger[_0x487904('0x1a')](_0x487904('0x9'),_0x9fc6a8,_0x65671e);})[_0x44fdcf('0x17')](function(_0xb15073){const _0xac0251=_0x44fdcf;logger['info'](util[_0xac0251('0x14')](_0xb15073,{'showHidden':![],'depth':null}));});});},Migration[_0x1d8bda('0x20')]['renameColumn']=function(_0x5d9f7d,_0xd0b865,_0x283971){const _0x808b65=_0x1d8bda,_0x1abe1e=this;this['sequence'][_0x808b65('0x6')](function(){const _0x18dc24=_0x808b65;return _0x1abe1e[_0x18dc24('0x13')][_0x18dc24('0xb')](_0x5d9f7d,_0xd0b865,_0x283971)['then'](function(){const _0x413168=_0x18dc24;logger[_0x413168('0x1a')](_0x413168('0x7'),_0xd0b865,_0x283971,_0x5d9f7d);})[_0x18dc24('0x17')](function(_0x4b90be){const _0x575b4e=_0x18dc24;logger['info'](util[_0x575b4e('0x14')](_0x4b90be,{'showHidden':![],'depth':null}));});});},Migration[_0x1d8bda('0x20')][_0x1d8bda('0x10')]=function(_0x3f9690){const _0x50da5f=_0x1d8bda;this[_0x50da5f('0x1e')]['enqueue'](function(){return _0x3f9690();});},module['exports']={'up':function(_0x52f467){return new Promise(function(_0x562c15){const _0x88ed82=new Migration(_0x52f467);_0x88ed82['final'](_0x562c15);});},'down':function(){}};
\ No newline at end of file
+const a987_0x18e7=['sequence','util','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','changeColumn','query','query\x20%s','addColumn','../config/logger','addIndex','enqueue','prototype','join','exports','dropTable','removeColumn','sequelize','migration','then','stringify','finally','table\x20dropped\x20%s','info','final','renameColumn','inspect','queryInterface','removeIndex\x20%s\x20%s','Added\x20column\x20%s\x20to\x20%s','removeIndex','Removed\x20column\x20%s\x20from\x20%s','tail','catch'];(function(_0x576cdf,_0x18e7d9){const _0x248ae8=function(_0x96f065){while(--_0x96f065){_0x576cdf['push'](_0x576cdf['shift']());}};_0x248ae8(++_0x18e7d9);}(a987_0x18e7,0xfc));const a987_0x248a=function(_0x576cdf,_0x18e7d9){_0x576cdf=_0x576cdf-0x0;let _0x248ae8=a987_0x18e7[_0x576cdf];return _0x248ae8;};const _0x1804c7=a987_0x248a;'use strict';const util=require(_0x1804c7('0x5')),logger=require(_0x1804c7('0xb'))(_0x1804c7('0x14')),Sequence=function(){};Sequence[_0x1804c7('0xe')][_0x1804c7('0xd')]=function(_0x96f065){const _0x2cdb48=_0x1804c7;this[_0x2cdb48('0x2')]=this[_0x2cdb48('0x2')]?this['tail'][_0x2cdb48('0x17')](_0x96f065):_0x96f065();};const Migration=function(_0x11fd6c){const _0x3fd2b6=_0x1804c7;this['queryInterface']=_0x11fd6c,this[_0x3fd2b6('0x4')]=new Sequence();};Migration[_0x1804c7('0xe')][_0x1804c7('0x7')]=function(_0x503e82,_0x3d8154,_0x57369e){const _0x263a87=_0x1804c7,_0x36b567=this;this[_0x263a87('0x4')][_0x263a87('0xd')](function(){const _0x1540e5=_0x263a87;return _0x36b567['queryInterface'][_0x1540e5('0x7')](_0x503e82,_0x3d8154,_0x57369e)[_0x1540e5('0x15')](function(){logger['info']('Changed\x20column\x20%s\x20in\x20table\x20%s',_0x3d8154,_0x503e82);})[_0x1540e5('0x3')](function(_0x1ad373){const _0x287e2a=_0x1540e5;logger[_0x287e2a('0x19')](JSON[_0x287e2a('0x16')](_0x1ad373));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0xa')]=function(_0x4b4770,_0x37eb93,_0x3a43b4){const _0x2cb067=_0x1804c7,_0x244ca1=this;this['sequence'][_0x2cb067('0xd')](function(){const _0x50b399=_0x2cb067;return _0x244ca1['queryInterface'][_0x50b399('0xa')](_0x4b4770,_0x37eb93,_0x3a43b4)[_0x50b399('0x15')](function(){const _0x5c394d=_0x50b399;logger['info'](_0x5c394d('0x1f'),_0x37eb93,_0x4b4770);})[_0x50b399('0x3')](function(_0x333407){const _0x32fda0=_0x50b399;logger[_0x32fda0('0x19')](JSON[_0x32fda0('0x16')](_0x333407));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0x11')]=function(_0x41f9ee){const _0x2e127b=_0x1804c7,_0x467a76=this;this['sequence'][_0x2e127b('0xd')](function(){const _0x1ec07b=_0x2e127b;return _0x467a76[_0x1ec07b('0x1d')][_0x1ec07b('0x11')](_0x41f9ee,{'force':!![]})[_0x1ec07b('0x15')](function(){const _0x2bd50a=_0x1ec07b;logger[_0x2bd50a('0x19')](_0x2bd50a('0x18'),_0x41f9ee);})['catch'](function(_0x51aaa9){const _0x2ebc6a=_0x1ec07b;logger[_0x2ebc6a('0x19')](JSON[_0x2ebc6a('0x16')](_0x51aaa9));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0xc')]=function(_0x481ef1,_0x514964,_0x3ac49f){const _0x313c95=_0x1804c7,_0x4175ff=this;this['sequence'][_0x313c95('0xd')](function(){const _0x2e3396=_0x313c95;return _0x4175ff[_0x2e3396('0x1d')]['addIndex'](_0x481ef1,_0x514964,{'indexName':_0x3ac49f})[_0x2e3396('0x15')](function(){const _0x37c8b8=_0x2e3396;logger[_0x37c8b8('0x19')]('addIndex\x20%s\x20%s\x20%s',_0x481ef1,_0x514964[_0x37c8b8('0xf')](','),_0x3ac49f);})[_0x2e3396('0x3')](function(_0x260852){const _0x480fe5=_0x2e3396;logger['info'](JSON[_0x480fe5('0x16')](_0x260852));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0x0')]=function(_0xee4981,_0x52992c){const _0x23056c=this;this['sequence']['enqueue'](function(){const _0x306467=a987_0x248a;return _0x23056c[_0x306467('0x1d')][_0x306467('0x0')](_0xee4981,_0x52992c)[_0x306467('0x15')](function(){const _0x207fb3=_0x306467;logger['info'](_0x207fb3('0x1e'),_0xee4981,_0x52992c);})[_0x306467('0x3')](function(_0x17238b){const _0x376345=_0x306467;logger['info'](JSON[_0x376345('0x16')](_0x17238b));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0x8')]=function(_0x1ce628){const _0x4ea076=_0x1804c7,_0x20f082=this;this[_0x4ea076('0x4')][_0x4ea076('0xd')](function(){const _0x6901dc=_0x4ea076;return _0x20f082[_0x6901dc('0x1d')][_0x6901dc('0x13')][_0x6901dc('0x8')](_0x1ce628)['then'](function(){const _0x6e33ee=_0x6901dc;logger[_0x6e33ee('0x19')](_0x6e33ee('0x9'),_0x1ce628);})[_0x6901dc('0x3')](function(_0x3969a0){const _0x5e9c6a=_0x6901dc;logger[_0x5e9c6a('0x19')](JSON[_0x5e9c6a('0x16')](_0x3969a0));});});},Migration['prototype'][_0x1804c7('0x12')]=function(_0x18eaa8,_0x3c077c){const _0x5efd35=_0x1804c7,_0x5908d0=this;this[_0x5efd35('0x4')][_0x5efd35('0xd')](function(){const _0x3c9950=_0x5efd35;return _0x5908d0[_0x3c9950('0x1d')][_0x3c9950('0x12')](_0x18eaa8,_0x3c077c)[_0x3c9950('0x15')](function(){const _0x293617=_0x3c9950;logger[_0x293617('0x19')](_0x293617('0x1'),_0x3c077c,_0x18eaa8);})[_0x3c9950('0x3')](function(_0x2a084b){const _0x2d1cd5=_0x3c9950;logger['info'](util[_0x2d1cd5('0x1c')](_0x2a084b,{'showHidden':![],'depth':null}));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0x1b')]=function(_0x39fa53,_0x4f964e,_0xc79b87){const _0x19d691=this;this['sequence']['enqueue'](function(){const _0x20c576=a987_0x248a;return _0x19d691[_0x20c576('0x1d')][_0x20c576('0x1b')](_0x39fa53,_0x4f964e,_0xc79b87)[_0x20c576('0x15')](function(){const _0x10644e=_0x20c576;logger['info'](_0x10644e('0x6'),_0x4f964e,_0xc79b87,_0x39fa53);})[_0x20c576('0x3')](function(_0xe2251e){const _0x3c3cbf=_0x20c576;logger[_0x3c3cbf('0x19')](util['inspect'](_0xe2251e,{'showHidden':![],'depth':null}));});});},Migration[_0x1804c7('0xe')][_0x1804c7('0x1a')]=function(_0x528007){const _0x80387f=_0x1804c7;this[_0x80387f('0x4')][_0x80387f('0xd')](function(){return _0x528007();});},module[_0x1804c7('0x10')]={'up':function(_0xe5824b){return new Promise(function(_0x2eb76a){const _0x5a5ddd=a987_0x248a,_0x22f1bf=new Migration(_0xe5824b);_0x22f1bf[_0x5a5ddd('0x1a')](_0x2eb76a);});},'down':function(){}};
\ No newline at end of file