Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.24.js
index 6bf68f5..557cd58 100644 (file)
@@ -1 +1 @@
-const a903_0x5e5f=['Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','tools_schedules','catch','stringify','addColumn','prototype','info','table\x20dropped\x20%s','exports','then','renameColumn','queryInterface','Removed\x20column\x20%s\x20from\x20%s','removeColumn','migration','dropTable','../config/logger'];(function(_0x247221,_0x5e5fe6){const _0x4078fe=function(_0x5c80cf){while(--_0x5c80cf){_0x247221['push'](_0x247221['shift']());}};_0x4078fe(++_0x5e5fe6);}(a903_0x5e5f,0x1d2));const a903_0x4078=function(_0x247221,_0x5e5fe6){_0x247221=_0x247221-0x0;let _0x4078fe=a903_0x5e5f[_0x247221];return _0x4078fe;};const _0x4c577e=a903_0x4078;'use strict';const logger=require(_0x4c577e('0x9'))(_0x4c577e('0x7')),Migration=function(_0x5c80cf){const _0x524d78=_0x4c577e;this[_0x524d78('0x4')]=_0x5c80cf;};Migration[_0x4c577e('0xf')]['addColumn']=function(_0x2587de,_0x4a87ec,_0x4fd843){const _0x239dfe=_0x4c577e;return this[_0x239dfe('0x4')][_0x239dfe('0xe')](_0x2587de,_0x4a87ec,_0x4fd843)[_0x239dfe('0x2')](function(){const _0x471b20=_0x239dfe;logger[_0x471b20('0x10')]('Added\x20column\x20%s\x20to\x20%s',_0x4a87ec,_0x2587de);})[_0x239dfe('0xc')](function(_0x195751){const _0x25dc5f=_0x239dfe;logger[_0x25dc5f('0x10')](JSON['stringify'](_0x195751));});},Migration[_0x4c577e('0xf')][_0x4c577e('0x6')]=function(_0xdba58b,_0x56eee9){const _0x1d99b0=_0x4c577e;return this[_0x1d99b0('0x4')][_0x1d99b0('0x6')](_0xdba58b,_0x56eee9)['then'](function(){const _0x4a3d21=_0x1d99b0;logger[_0x4a3d21('0x10')](_0x4a3d21('0x5'),_0x56eee9,_0xdba58b);})[_0x1d99b0('0xc')](function(_0x9a08fc){const _0x318174=_0x1d99b0;logger['info'](JSON[_0x318174('0xd')](_0x9a08fc));});},Migration['prototype'][_0x4c577e('0x3')]=function(_0x1c7777,_0x4db684,_0x1cb8a4){const _0x2ef65f=_0x4c577e;return this[_0x2ef65f('0x4')][_0x2ef65f('0x3')](_0x1c7777,_0x4db684,_0x1cb8a4)['then'](function(){const _0x38d8a5=_0x2ef65f;logger['info'](_0x38d8a5('0xa'),_0x4db684,_0x1cb8a4,_0x1c7777);})['catch'](function(_0x5eeaf3){const _0x3ceb59=_0x2ef65f;logger[_0x3ceb59('0x10')](JSON[_0x3ceb59('0xd')](_0x5eeaf3));});},Migration[_0x4c577e('0xf')][_0x4c577e('0x8')]=function(_0x20e3d7){const _0x263527=_0x4c577e;return this[_0x263527('0x4')][_0x263527('0x8')](_0x20e3d7)['then'](function(){const _0x34d985=_0x263527;logger[_0x34d985('0x10')](_0x34d985('0x0'),_0x20e3d7);})[_0x263527('0xc')](function(_0x326c45){const _0x32f5c8=_0x263527;logger[_0x32f5c8('0x10')](JSON[_0x32f5c8('0xd')](_0x326c45));});},module[_0x4c577e('0x1')]={'up':function(_0x27782f){const _0x13bdae=_0x4c577e,_0xd8f03c=new Migration(_0x27782f);_0xd8f03c['dropTable'](_0x13bdae('0xb'),{'force':!![]});},'down':function(){}};
\ No newline at end of file
+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