Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.24.js
index 860d616..40e08dd 100644 (file)
@@ -1 +1 @@
-const a903_0x490d=['queryInterface','addColumn','renameColumn','then','tools_schedules','info','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','../config/logger','stringify','dropTable','removeColumn','catch','Removed\x20column\x20%s\x20from\x20%s'];(function(_0x42bd6b,_0x490dcf){const _0x1cdefb=function(_0x41eef9){while(--_0x41eef9){_0x42bd6b['push'](_0x42bd6b['shift']());}};_0x1cdefb(++_0x490dcf);}(a903_0x490d,0xf1));const a903_0x1cde=function(_0x42bd6b,_0x490dcf){_0x42bd6b=_0x42bd6b-0x0;let _0x1cdefb=a903_0x490d[_0x42bd6b];return _0x1cdefb;};const _0x5c6cac=a903_0x1cde;'use strict';const logger=require(_0x5c6cac('0x0'))('migration'),Migration=function(_0x41eef9){this['queryInterface']=_0x41eef9;};Migration['prototype'][_0x5c6cac('0x7')]=function(_0x844114,_0x2cef34,_0x440042){const _0x25f75d=_0x5c6cac;return this['queryInterface'][_0x25f75d('0x7')](_0x844114,_0x2cef34,_0x440042)['then'](function(){const _0xe2f059=_0x25f75d;logger[_0xe2f059('0xb')]('Added\x20column\x20%s\x20to\x20%s',_0x2cef34,_0x844114);})[_0x25f75d('0x4')](function(_0x58100f){const _0x3de9a6=_0x25f75d;logger[_0x3de9a6('0xb')](JSON[_0x3de9a6('0x1')](_0x58100f));});},Migration['prototype'][_0x5c6cac('0x3')]=function(_0x193634,_0x55120c){const _0x10f858=_0x5c6cac;return this[_0x10f858('0x6')][_0x10f858('0x3')](_0x193634,_0x55120c)['then'](function(){const _0x5466ad=_0x10f858;logger[_0x5466ad('0xb')](_0x5466ad('0x5'),_0x55120c,_0x193634);})[_0x10f858('0x4')](function(_0x144cc4){const _0x2ac74c=_0x10f858;logger[_0x2ac74c('0xb')](JSON[_0x2ac74c('0x1')](_0x144cc4));});},Migration['prototype']['renameColumn']=function(_0x269aa2,_0xce829a,_0x503ee6){const _0x85df17=_0x5c6cac;return this[_0x85df17('0x6')][_0x85df17('0x8')](_0x269aa2,_0xce829a,_0x503ee6)[_0x85df17('0x9')](function(){const _0x32b617=_0x85df17;logger[_0x32b617('0xb')](_0x32b617('0xc'),_0xce829a,_0x503ee6,_0x269aa2);})[_0x85df17('0x4')](function(_0x908717){const _0x367021=_0x85df17;logger[_0x367021('0xb')](JSON[_0x367021('0x1')](_0x908717));});},Migration['prototype'][_0x5c6cac('0x2')]=function(_0x5a8b57){const _0x3fde1b=_0x5c6cac;return this[_0x3fde1b('0x6')][_0x3fde1b('0x2')](_0x5a8b57)[_0x3fde1b('0x9')](function(){logger['info']('table\x20dropped\x20%s',_0x5a8b57);})['catch'](function(_0x3ebecf){const _0x56728e=_0x3fde1b;logger[_0x56728e('0xb')](JSON['stringify'](_0x3ebecf));});},module['exports']={'up':function(_0x5e5377){const _0x181670=_0x5c6cac,_0x4ceb9a=new Migration(_0x5e5377);_0x4ceb9a['dropTable'](_0x181670('0xa'),{'force':!![]});},'down':function(){}};
\ No newline at end of file
+const a903_0x4cb0=['Added\x20column\x20%s\x20to\x20%s','addColumn','dropTable','queryInterface','catch','removeColumn','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','then','table\x20dropped\x20%s','info','tools_schedules','exports','Removed\x20column\x20%s\x20from\x20%s','stringify','renameColumn','migration','prototype'];(function(_0x4e0a6e,_0x4cb0ad){const _0x4fd131=function(_0x5bca15){while(--_0x5bca15){_0x4e0a6e['push'](_0x4e0a6e['shift']());}};_0x4fd131(++_0x4cb0ad);}(a903_0x4cb0,0x141));const a903_0x4fd1=function(_0x4e0a6e,_0x4cb0ad){_0x4e0a6e=_0x4e0a6e-0x0;let _0x4fd131=a903_0x4cb0[_0x4e0a6e];return _0x4fd131;};const _0x59caf6=a903_0x4fd1;'use strict';const logger=require('../config/logger')(_0x59caf6('0x0')),Migration=function(_0x5bca15){const _0x4fa423=_0x59caf6;this[_0x4fa423('0x5')]=_0x5bca15;};Migration[_0x59caf6('0x1')][_0x59caf6('0x3')]=function(_0x167e75,_0xc1ab9f,_0x4e016d){const _0x4488cb=_0x59caf6;return this[_0x4488cb('0x5')][_0x4488cb('0x3')](_0x167e75,_0xc1ab9f,_0x4e016d)[_0x4488cb('0x9')](function(){const _0x179957=_0x4488cb;logger[_0x179957('0xb')](_0x179957('0x2'),_0xc1ab9f,_0x167e75);})['catch'](function(_0x14a1ab){const _0x11ebe0=_0x4488cb;logger[_0x11ebe0('0xb')](JSON[_0x11ebe0('0xf')](_0x14a1ab));});},Migration['prototype'][_0x59caf6('0x7')]=function(_0x316855,_0x60a1d2){const _0x514828=_0x59caf6;return this[_0x514828('0x5')]['removeColumn'](_0x316855,_0x60a1d2)[_0x514828('0x9')](function(){const _0x5765a8=_0x514828;logger[_0x5765a8('0xb')](_0x5765a8('0xe'),_0x60a1d2,_0x316855);})[_0x514828('0x6')](function(_0x2cf064){const _0x444057=_0x514828;logger[_0x444057('0xb')](JSON['stringify'](_0x2cf064));});},Migration[_0x59caf6('0x1')][_0x59caf6('0x10')]=function(_0x1654b2,_0x2de5e6,_0x3724e4){const _0x5dcf2d=_0x59caf6;return this[_0x5dcf2d('0x5')]['renameColumn'](_0x1654b2,_0x2de5e6,_0x3724e4)['then'](function(){const _0x3cf4aa=_0x5dcf2d;logger[_0x3cf4aa('0xb')](_0x3cf4aa('0x8'),_0x2de5e6,_0x3724e4,_0x1654b2);})['catch'](function(_0x1208c9){const _0x343e99=_0x5dcf2d;logger[_0x343e99('0xb')](JSON[_0x343e99('0xf')](_0x1208c9));});},Migration[_0x59caf6('0x1')]['dropTable']=function(_0x4c7516){const _0x58c246=_0x59caf6;return this[_0x58c246('0x5')][_0x58c246('0x4')](_0x4c7516)[_0x58c246('0x9')](function(){const _0x3c4561=_0x58c246;logger[_0x3c4561('0xb')](_0x3c4561('0xa'),_0x4c7516);})['catch'](function(_0x328851){const _0x52ec92=_0x58c246;logger[_0x52ec92('0xb')](JSON['stringify'](_0x328851));});},module[_0x59caf6('0xd')]={'up':function(_0x59b846){const _0x31d904=_0x59caf6,_0x4cbfef=new Migration(_0x59b846);_0x4cbfef[_0x31d904('0x4')](_0x31d904('0xc'),{'force':!![]});},'down':function(){}};
\ No newline at end of file