Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.21.js
index a24c0ca..ace1863 100644 (file)
@@ -1 +1 @@
-const a900_0x1bae=['Added\x20column\x20%s\x20to\x20%s','queryInterface','then','info','Removed\x20column\x20%s\x20from\x20%s','exports','stringify','dropTable','addColumn','report_jscripty_sessions','report_jscripty_questions','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','renameColumn','catch','prototype','migration','jscripty_projects'];(function(_0x1ad97f,_0x1bae3d){const _0x5a02be=function(_0x41b436){while(--_0x41b436){_0x1ad97f['push'](_0x1ad97f['shift']());}};_0x5a02be(++_0x1bae3d);}(a900_0x1bae,0x19e));const a900_0x5a02=function(_0x1ad97f,_0x1bae3d){_0x1ad97f=_0x1ad97f-0x0;let _0x5a02be=a900_0x1bae[_0x1ad97f];return _0x5a02be;};const _0x18562f=a900_0x5a02;'use strict';const logger=require('../config/logger')(_0x18562f('0x9')),Migration=function(_0x41b436){const _0x55ffda=_0x18562f;this[_0x55ffda('0xc')]=_0x41b436;};Migration['prototype'][_0x18562f('0x2')]=function(_0x29b10e,_0x5aabc4,_0x8b646b){const _0x373d89=_0x18562f;return this[_0x373d89('0xc')][_0x373d89('0x2')](_0x29b10e,_0x5aabc4,_0x8b646b)['then'](function(){const _0xfaca75=_0x373d89;logger['info'](_0xfaca75('0xb'),_0x5aabc4,_0x29b10e);})[_0x373d89('0x7')](function(_0x1f0c79){const _0x2ea690=_0x373d89;logger[_0x2ea690('0xe')](JSON['stringify'](_0x1f0c79));});},Migration[_0x18562f('0x8')]['removeColumn']=function(_0x592de8,_0x5224df){const _0x1c14d9=_0x18562f;return this['queryInterface']['removeColumn'](_0x592de8,_0x5224df)[_0x1c14d9('0xd')](function(){const _0x598b0b=_0x1c14d9;logger['info'](_0x598b0b('0xf'),_0x5224df,_0x592de8);})[_0x1c14d9('0x7')](function(_0x4e4968){logger['info'](JSON['stringify'](_0x4e4968));});},Migration['prototype'][_0x18562f('0x6')]=function(_0x35f214,_0x3c6089,_0x92a524){const _0x10fd30=_0x18562f;return this[_0x10fd30('0xc')][_0x10fd30('0x6')](_0x35f214,_0x3c6089,_0x92a524)[_0x10fd30('0xd')](function(){const _0x57f79e=_0x10fd30;logger[_0x57f79e('0xe')](_0x57f79e('0x5'),_0x3c6089,_0x92a524,_0x35f214);})[_0x10fd30('0x7')](function(_0x476a45){const _0x222706=_0x10fd30;logger['info'](JSON[_0x222706('0x0')](_0x476a45));});},Migration[_0x18562f('0x8')][_0x18562f('0x1')]=function(_0x3ebee1){const _0x4bdf43=_0x18562f;return this[_0x4bdf43('0xc')]['dropTable'](_0x3ebee1)[_0x4bdf43('0xd')](function(){const _0x3ce5a2=_0x4bdf43;logger[_0x3ce5a2('0xe')]('table\x20dropped\x20%s',_0x3ebee1);})['catch'](function(_0x4085bb){const _0xd17e72=_0x4bdf43;logger[_0xd17e72('0xe')](JSON[_0xd17e72('0x0')](_0x4085bb));});},module[_0x18562f('0x10')]={'up':function(_0x5cae72){const _0x1d2d32=_0x18562f,_0x13e1e2=new Migration(_0x5cae72);_0x13e1e2[_0x1d2d32('0x1')](_0x1d2d32('0xa'),{'force':!![]}),_0x13e1e2[_0x1d2d32('0x1')]('report_jscripty_inputs',{'force':!![]}),_0x13e1e2[_0x1d2d32('0x1')](_0x1d2d32('0x4'),{'force':!![]}),_0x13e1e2[_0x1d2d32('0x1')](_0x1d2d32('0x3'),{'force':!![]});},'down':function(){}};
\ No newline at end of file
+const a900_0x4568=['stringify','Added\x20column\x20%s\x20to\x20%s','report_jscripty_inputs','jscripty_projects','then','Removed\x20column\x20%s\x20from\x20%s','exports','../config/logger','report_jscripty_sessions','table\x20dropped\x20%s','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','info','queryInterface','prototype','removeColumn','addColumn','renameColumn','report_jscripty_questions','catch','dropTable'];(function(_0x56178a,_0x4568d8){const _0x3fadfa=function(_0x2fb18f){while(--_0x2fb18f){_0x56178a['push'](_0x56178a['shift']());}};_0x3fadfa(++_0x4568d8);}(a900_0x4568,0xbe));const a900_0x3fad=function(_0x56178a,_0x4568d8){_0x56178a=_0x56178a-0x0;let _0x3fadfa=a900_0x4568[_0x56178a];return _0x3fadfa;};const _0xd5a1d5=a900_0x3fad;'use strict';const logger=require(_0xd5a1d5('0x11'))('migration'),Migration=function(_0x2fb18f){const _0x5a0c55=_0xd5a1d5;this[_0x5a0c55('0x2')]=_0x2fb18f;};Migration[_0xd5a1d5('0x3')][_0xd5a1d5('0x5')]=function(_0x457e33,_0x3b8b43,_0x36b16f){const _0x2e76f5=_0xd5a1d5;return this[_0x2e76f5('0x2')][_0x2e76f5('0x5')](_0x457e33,_0x3b8b43,_0x36b16f)[_0x2e76f5('0xe')](function(){const _0x57694e=_0x2e76f5;logger[_0x57694e('0x1')](_0x57694e('0xb'),_0x3b8b43,_0x457e33);})[_0x2e76f5('0x8')](function(_0x2d3d42){const _0x313b29=_0x2e76f5;logger[_0x313b29('0x1')](JSON[_0x313b29('0xa')](_0x2d3d42));});},Migration[_0xd5a1d5('0x3')][_0xd5a1d5('0x4')]=function(_0xda8e4d,_0x2d64ee){const _0x259cd3=_0xd5a1d5;return this[_0x259cd3('0x2')][_0x259cd3('0x4')](_0xda8e4d,_0x2d64ee)[_0x259cd3('0xe')](function(){const _0x14540a=_0x259cd3;logger[_0x14540a('0x1')](_0x14540a('0xf'),_0x2d64ee,_0xda8e4d);})[_0x259cd3('0x8')](function(_0x173f95){const _0x359b53=_0x259cd3;logger[_0x359b53('0x1')](JSON[_0x359b53('0xa')](_0x173f95));});},Migration['prototype'][_0xd5a1d5('0x6')]=function(_0x5c7734,_0x515c13,_0x1e10d7){const _0x1fec21=_0xd5a1d5;return this[_0x1fec21('0x2')][_0x1fec21('0x6')](_0x5c7734,_0x515c13,_0x1e10d7)['then'](function(){const _0x32cd8a=_0x1fec21;logger[_0x32cd8a('0x1')](_0x32cd8a('0x0'),_0x515c13,_0x1e10d7,_0x5c7734);})['catch'](function(_0x36a387){const _0x530414=_0x1fec21;logger[_0x530414('0x1')](JSON[_0x530414('0xa')](_0x36a387));});},Migration[_0xd5a1d5('0x3')][_0xd5a1d5('0x9')]=function(_0x52ea43){const _0x4b85c8=_0xd5a1d5;return this[_0x4b85c8('0x2')][_0x4b85c8('0x9')](_0x52ea43)[_0x4b85c8('0xe')](function(){const _0x18549d=_0x4b85c8;logger[_0x18549d('0x1')](_0x18549d('0x13'),_0x52ea43);})['catch'](function(_0x406e71){const _0xf93ba1=_0x4b85c8;logger[_0xf93ba1('0x1')](JSON[_0xf93ba1('0xa')](_0x406e71));});},module[_0xd5a1d5('0x10')]={'up':function(_0x59ce5e){const _0xbc1344=_0xd5a1d5,_0x2a5458=new Migration(_0x59ce5e);_0x2a5458[_0xbc1344('0x9')](_0xbc1344('0xd'),{'force':!![]}),_0x2a5458['dropTable'](_0xbc1344('0xc'),{'force':!![]}),_0x2a5458[_0xbc1344('0x9')](_0xbc1344('0x7'),{'force':!![]}),_0x2a5458[_0xbc1344('0x9')](_0xbc1344('0x12'),{'force':!![]});},'down':function(){}};
\ No newline at end of file