Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.24.js
index 7c8729e..1d425ca 100644 (file)
@@ -1 +1 @@
-const a903_0x2dab=['queryInterface','prototype','Added\x20column\x20%s\x20to\x20%s','migration','stringify','Removed\x20column\x20%s\x20from\x20%s','renameColumn','removeColumn','then','dropTable','table\x20dropped\x20%s','addColumn','info','catch','exports','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s'];(function(_0x1dfbf5,_0x2dabbe){const _0x43a42c=function(_0x189d8a){while(--_0x189d8a){_0x1dfbf5['push'](_0x1dfbf5['shift']());}};_0x43a42c(++_0x2dabbe);}(a903_0x2dab,0x14f));const a903_0x43a4=function(_0x1dfbf5,_0x2dabbe){_0x1dfbf5=_0x1dfbf5-0x0;let _0x43a42c=a903_0x2dab[_0x1dfbf5];return _0x43a42c;};const _0x23090d=a903_0x43a4;'use strict';const logger=require('../config/logger')(_0x23090d('0x4')),Migration=function(_0x189d8a){const _0x6f6f5c=_0x23090d;this[_0x6f6f5c('0x1')]=_0x189d8a;};Migration[_0x23090d('0x2')][_0x23090d('0xc')]=function(_0x326672,_0x12d376,_0x10146b){const _0x1d8161=_0x23090d;return this[_0x1d8161('0x1')][_0x1d8161('0xc')](_0x326672,_0x12d376,_0x10146b)[_0x1d8161('0x9')](function(){const _0x4985aa=_0x1d8161;logger[_0x4985aa('0xd')](_0x4985aa('0x3'),_0x12d376,_0x326672);})[_0x1d8161('0xe')](function(_0x4c4788){const _0x216593=_0x1d8161;logger[_0x216593('0xd')](JSON[_0x216593('0x5')](_0x4c4788));});},Migration[_0x23090d('0x2')][_0x23090d('0x8')]=function(_0x198490,_0x468922){const _0x22b4cc=_0x23090d;return this[_0x22b4cc('0x1')][_0x22b4cc('0x8')](_0x198490,_0x468922)[_0x22b4cc('0x9')](function(){const _0x119fd7=_0x22b4cc;logger[_0x119fd7('0xd')](_0x119fd7('0x6'),_0x468922,_0x198490);})[_0x22b4cc('0xe')](function(_0x3cabac){const _0x3ca2e5=_0x22b4cc;logger['info'](JSON[_0x3ca2e5('0x5')](_0x3cabac));});},Migration[_0x23090d('0x2')][_0x23090d('0x7')]=function(_0x4f5d54,_0x531184,_0x5e972c){const _0x384cd4=_0x23090d;return this['queryInterface']['renameColumn'](_0x4f5d54,_0x531184,_0x5e972c)[_0x384cd4('0x9')](function(){const _0x2b52fe=_0x384cd4;logger[_0x2b52fe('0xd')](_0x2b52fe('0x0'),_0x531184,_0x5e972c,_0x4f5d54);})[_0x384cd4('0xe')](function(_0x39d181){const _0x1da0a5=_0x384cd4;logger[_0x1da0a5('0xd')](JSON[_0x1da0a5('0x5')](_0x39d181));});},Migration[_0x23090d('0x2')][_0x23090d('0xa')]=function(_0x166fb3){const _0x281471=_0x23090d;return this[_0x281471('0x1')][_0x281471('0xa')](_0x166fb3)[_0x281471('0x9')](function(){const _0x23fc42=_0x281471;logger['info'](_0x23fc42('0xb'),_0x166fb3);})[_0x281471('0xe')](function(_0x593387){const _0x17702d=_0x281471;logger['info'](JSON[_0x17702d('0x5')](_0x593387));});},module[_0x23090d('0xf')]={'up':function(_0x7fa399){const _0x488936=_0x23090d,_0x331c28=new Migration(_0x7fa399);_0x331c28[_0x488936('0xa')]('tools_schedules',{'force':!![]});},'down':function(){}};
\ No newline at end of file
+const a903_0x30e6=['renameColumn','Added\x20column\x20%s\x20to\x20%s','migration','table\x20dropped\x20%s','catch','queryInterface','addColumn','prototype','tools_schedules','../config/logger','removeColumn','then','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','info','stringify','dropTable'];(function(_0x28108d,_0x30e6f8){const _0x1fac0c=function(_0x168280){while(--_0x168280){_0x28108d['push'](_0x28108d['shift']());}};_0x1fac0c(++_0x30e6f8);}(a903_0x30e6,0x18f));const a903_0x1fac=function(_0x28108d,_0x30e6f8){_0x28108d=_0x28108d-0x0;let _0x1fac0c=a903_0x30e6[_0x28108d];return _0x1fac0c;};const _0x4d5709=a903_0x1fac;'use strict';const logger=require(_0x4d5709('0xa'))(_0x4d5709('0x3')),Migration=function(_0x168280){this['queryInterface']=_0x168280;};Migration[_0x4d5709('0x8')][_0x4d5709('0x7')]=function(_0x368f53,_0x4b5b51,_0x25863a){const _0x1aa447=_0x4d5709;return this[_0x1aa447('0x6')][_0x1aa447('0x7')](_0x368f53,_0x4b5b51,_0x25863a)[_0x1aa447('0xc')](function(){const _0x36f735=_0x1aa447;logger[_0x36f735('0xe')](_0x36f735('0x2'),_0x4b5b51,_0x368f53);})[_0x1aa447('0x5')](function(_0x158314){const _0x57458a=_0x1aa447;logger[_0x57458a('0xe')](JSON[_0x57458a('0xf')](_0x158314));});},Migration[_0x4d5709('0x8')][_0x4d5709('0xb')]=function(_0x8b50c4,_0x22bad9){const _0x468046=_0x4d5709;return this[_0x468046('0x6')][_0x468046('0xb')](_0x8b50c4,_0x22bad9)['then'](function(){const _0x25b7b8=_0x468046;logger[_0x25b7b8('0xe')]('Removed\x20column\x20%s\x20from\x20%s',_0x22bad9,_0x8b50c4);})[_0x468046('0x5')](function(_0x45c9c3){const _0x578dc4=_0x468046;logger[_0x578dc4('0xe')](JSON['stringify'](_0x45c9c3));});},Migration[_0x4d5709('0x8')][_0x4d5709('0x1')]=function(_0x3644bb,_0x24926d,_0x26b1e7){const _0x217f87=_0x4d5709;return this[_0x217f87('0x6')][_0x217f87('0x1')](_0x3644bb,_0x24926d,_0x26b1e7)[_0x217f87('0xc')](function(){const _0x34b501=_0x217f87;logger[_0x34b501('0xe')](_0x34b501('0xd'),_0x24926d,_0x26b1e7,_0x3644bb);})['catch'](function(_0x6d1fd7){const _0xa10a9=_0x217f87;logger['info'](JSON[_0xa10a9('0xf')](_0x6d1fd7));});},Migration[_0x4d5709('0x8')][_0x4d5709('0x0')]=function(_0x1fcbdc){const _0x24d51c=_0x4d5709;return this[_0x24d51c('0x6')]['dropTable'](_0x1fcbdc)[_0x24d51c('0xc')](function(){const _0x1fd66c=_0x24d51c;logger[_0x1fd66c('0xe')](_0x1fd66c('0x4'),_0x1fcbdc);})['catch'](function(_0x4abe1f){const _0x397670=_0x24d51c;logger[_0x397670('0xe')](JSON[_0x397670('0xf')](_0x4abe1f));});},module['exports']={'up':function(_0x555ed0){const _0x4fa0b3=_0x4d5709,_0x54848c=new Migration(_0x555ed0);_0x54848c['dropTable'](_0x4fa0b3('0x9'),{'force':!![]});},'down':function(){}};
\ No newline at end of file