Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.24.js
index 557cd58..7b0e815 100644 (file)
@@ -1 +1 @@
-const a903_0x543f=['renameColumn','tools_schedules','info','addColumn','stringify','then','removeColumn','dropTable','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','table\x20dropped\x20%s','catch','prototype','exports','Added\x20column\x20%s\x20to\x20%s','queryInterface'];(function(_0x5e6db2,_0x543f11){const _0x42267f=function(_0x5485ea){while(--_0x5485ea){_0x5e6db2['push'](_0x5e6db2['shift']());}};_0x42267f(++_0x543f11);}(a903_0x543f,0xf1));const a903_0x4226=function(_0x5e6db2,_0x543f11){_0x5e6db2=_0x5e6db2-0x0;let _0x42267f=a903_0x543f[_0x5e6db2];return _0x42267f;};const _0x161711=a903_0x4226;'use strict';const logger=require('../config/logger')('migration'),Migration=function(_0x5485ea){const _0x2d1110=a903_0x4226;this[_0x2d1110('0xd')]=_0x5485ea;};Migration[_0x161711('0xa')][_0x161711('0x2')]=function(_0x599a47,_0xefa12f,_0x29d6eb){const _0x3707b9=_0x161711;return this['queryInterface'][_0x3707b9('0x2')](_0x599a47,_0xefa12f,_0x29d6eb)[_0x3707b9('0x4')](function(){const _0x8e7d8=_0x3707b9;logger['info'](_0x8e7d8('0xc'),_0xefa12f,_0x599a47);})[_0x3707b9('0x9')](function(_0x56e066){const _0x3314c5=_0x3707b9;logger[_0x3314c5('0x1')](JSON['stringify'](_0x56e066));});},Migration[_0x161711('0xa')][_0x161711('0x5')]=function(_0x36e4e8,_0x270282){const _0x2a875a=_0x161711;return this['queryInterface']['removeColumn'](_0x36e4e8,_0x270282)['then'](function(){const _0xccdf2a=a903_0x4226;logger[_0xccdf2a('0x1')]('Removed\x20column\x20%s\x20from\x20%s',_0x270282,_0x36e4e8);})[_0x2a875a('0x9')](function(_0x15be7a){const _0x433ad0=_0x2a875a;logger[_0x433ad0('0x1')](JSON[_0x433ad0('0x3')](_0x15be7a));});},Migration[_0x161711('0xa')][_0x161711('0xe')]=function(_0x8bbff6,_0x34cc8f,_0x92546d){const _0x33f3bd=_0x161711;return this[_0x33f3bd('0xd')][_0x33f3bd('0xe')](_0x8bbff6,_0x34cc8f,_0x92546d)[_0x33f3bd('0x4')](function(){const _0xbbc66c=_0x33f3bd;logger[_0xbbc66c('0x1')](_0xbbc66c('0x7'),_0x34cc8f,_0x92546d,_0x8bbff6);})[_0x33f3bd('0x9')](function(_0x309bc6){const _0x4bca49=_0x33f3bd;logger['info'](JSON[_0x4bca49('0x3')](_0x309bc6));});},Migration[_0x161711('0xa')][_0x161711('0x6')]=function(_0x33ea78){const _0x48b477=_0x161711;return this[_0x48b477('0xd')][_0x48b477('0x6')](_0x33ea78)[_0x48b477('0x4')](function(){const _0x12b0a5=_0x48b477;logger[_0x12b0a5('0x1')](_0x12b0a5('0x8'),_0x33ea78);})[_0x48b477('0x9')](function(_0x2780a2){const _0x549964=_0x48b477;logger[_0x549964('0x1')](JSON[_0x549964('0x3')](_0x2780a2));});},module[_0x161711('0xb')]={'up':function(_0x5247c7){const _0x136e6b=_0x161711,_0xe0d630=new Migration(_0x5247c7);_0xe0d630[_0x136e6b('0x6')](_0x136e6b('0x0'),{'force':!![]});},'down':function(){}};
\ No newline at end of file
+const a903_0xc4af=['prototype','catch','addColumn','queryInterface','dropTable','renameColumn','exports','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','Removed\x20column\x20%s\x20from\x20%s','then','Added\x20column\x20%s\x20to\x20%s','stringify','table\x20dropped\x20%s','migration','info','removeColumn'];(function(_0x465a47,_0xc4afba){const _0x48af21=function(_0x2e1829){while(--_0x2e1829){_0x465a47['push'](_0x465a47['shift']());}};_0x48af21(++_0xc4afba);}(a903_0xc4af,0x8d));const a903_0x48af=function(_0x465a47,_0xc4afba){_0x465a47=_0x465a47-0x0;let _0x48af21=a903_0xc4af[_0x465a47];return _0x48af21;};const _0x3fd9c0=a903_0x48af;'use strict';const logger=require('../config/logger')(_0x3fd9c0('0x0')),Migration=function(_0x2e1829){const _0x5cd92a=_0x3fd9c0;this[_0x5cd92a('0x6')]=_0x2e1829;};Migration[_0x3fd9c0('0x3')][_0x3fd9c0('0x5')]=function(_0x4f2bc2,_0x1274a8,_0x2df010){const _0xddf1d7=_0x3fd9c0;return this[_0xddf1d7('0x6')][_0xddf1d7('0x5')](_0x4f2bc2,_0x1274a8,_0x2df010)[_0xddf1d7('0xc')](function(){const _0x54e9e8=_0xddf1d7;logger[_0x54e9e8('0x1')](_0x54e9e8('0xd'),_0x1274a8,_0x4f2bc2);})[_0xddf1d7('0x4')](function(_0x59c654){const _0x2a8b06=_0xddf1d7;logger[_0x2a8b06('0x1')](JSON[_0x2a8b06('0xe')](_0x59c654));});},Migration[_0x3fd9c0('0x3')][_0x3fd9c0('0x2')]=function(_0x273b7f,_0x4a20fe){const _0xa30c3d=_0x3fd9c0;return this[_0xa30c3d('0x6')][_0xa30c3d('0x2')](_0x273b7f,_0x4a20fe)[_0xa30c3d('0xc')](function(){const _0x106afc=_0xa30c3d;logger[_0x106afc('0x1')](_0x106afc('0xb'),_0x4a20fe,_0x273b7f);})[_0xa30c3d('0x4')](function(_0x1707a4){const _0x268a19=_0xa30c3d;logger[_0x268a19('0x1')](JSON[_0x268a19('0xe')](_0x1707a4));});},Migration['prototype']['renameColumn']=function(_0x518261,_0x3e5a6d,_0x484458){const _0x1a64a1=_0x3fd9c0;return this[_0x1a64a1('0x6')][_0x1a64a1('0x8')](_0x518261,_0x3e5a6d,_0x484458)[_0x1a64a1('0xc')](function(){const _0x18cac8=_0x1a64a1;logger[_0x18cac8('0x1')](_0x18cac8('0xa'),_0x3e5a6d,_0x484458,_0x518261);})['catch'](function(_0x52545e){const _0xa3bf85=_0x1a64a1;logger[_0xa3bf85('0x1')](JSON[_0xa3bf85('0xe')](_0x52545e));});},Migration[_0x3fd9c0('0x3')][_0x3fd9c0('0x7')]=function(_0xdce683){const _0x2d7da1=_0x3fd9c0;return this[_0x2d7da1('0x6')]['dropTable'](_0xdce683)[_0x2d7da1('0xc')](function(){const _0xa355ab=_0x2d7da1;logger[_0xa355ab('0x1')](_0xa355ab('0xf'),_0xdce683);})[_0x2d7da1('0x4')](function(_0x3587d8){const _0x47743b=_0x2d7da1;logger[_0x47743b('0x1')](JSON[_0x47743b('0xe')](_0x3587d8));});},module[_0x3fd9c0('0x9')]={'up':function(_0x3419ce){const _0x10c02d=_0x3fd9c0,_0x28006f=new Migration(_0x3419ce);_0x28006f[_0x10c02d('0x7')]('tools_schedules',{'force':!![]});},'down':function(){}};
\ No newline at end of file