Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.20.js
index 4f8cd5a..48a7807 100644 (file)
@@ -1 +1 @@
-const a899_0x250c=['exports','../config/logger','dropTable','migration','catch','renameColumn','jscripty_projects','then','Removed\x20column\x20%s\x20from\x20%s','stringify','info','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','prototype','report_jscripty_questions','queryInterface','addColumn','removeColumn','table\x20dropped\x20%s','Added\x20column\x20%s\x20to\x20%s','report_jscripty_sessions'];(function(_0x14d674,_0x250c14){const _0x372087=function(_0x561504){while(--_0x561504){_0x14d674['push'](_0x14d674['shift']());}};_0x372087(++_0x250c14);}(a899_0x250c,0x1de));const a899_0x3720=function(_0x14d674,_0x250c14){_0x14d674=_0x14d674-0x0;let _0x372087=a899_0x250c[_0x14d674];return _0x372087;};const _0x5e7666=a899_0x3720;'use strict';const logger=require(_0x5e7666('0x3'))(_0x5e7666('0x5')),Migration=function(_0x561504){this['queryInterface']=_0x561504;};Migration[_0x5e7666('0xe')][_0x5e7666('0x11')]=function(_0x275522,_0x1bfb78,_0x263678){const _0x27a426=_0x5e7666;return this[_0x27a426('0x10')][_0x27a426('0x11')](_0x275522,_0x1bfb78,_0x263678)[_0x27a426('0x9')](function(){const _0x415941=_0x27a426;logger['info'](_0x415941('0x0'),_0x1bfb78,_0x275522);})['catch'](function(_0x209022){const _0x3cf559=_0x27a426;logger[_0x3cf559('0xc')](JSON[_0x3cf559('0xb')](_0x209022));});},Migration['prototype']['removeColumn']=function(_0xc6e2f2,_0x4284b4){const _0x33a38a=_0x5e7666;return this['queryInterface'][_0x33a38a('0x12')](_0xc6e2f2,_0x4284b4)[_0x33a38a('0x9')](function(){const _0x1b4bf5=_0x33a38a;logger['info'](_0x1b4bf5('0xa'),_0x4284b4,_0xc6e2f2);})[_0x33a38a('0x6')](function(_0x418473){const _0x461592=_0x33a38a;logger[_0x461592('0xc')](JSON['stringify'](_0x418473));});},Migration[_0x5e7666('0xe')][_0x5e7666('0x7')]=function(_0x56a591,_0x293655,_0x1f3b03){const _0x524b9f=_0x5e7666;return this[_0x524b9f('0x10')][_0x524b9f('0x7')](_0x56a591,_0x293655,_0x1f3b03)['then'](function(){const _0x5c4808=_0x524b9f;logger['info'](_0x5c4808('0xd'),_0x293655,_0x1f3b03,_0x56a591);})['catch'](function(_0x48e907){const _0x3cf842=_0x524b9f;logger[_0x3cf842('0xc')](JSON[_0x3cf842('0xb')](_0x48e907));});},Migration[_0x5e7666('0xe')][_0x5e7666('0x4')]=function(_0x53b62c){const _0x1c3686=_0x5e7666;return this['queryInterface'][_0x1c3686('0x4')](_0x53b62c)[_0x1c3686('0x9')](function(){const _0x5e995c=_0x1c3686;logger[_0x5e995c('0xc')](_0x5e995c('0x13'),_0x53b62c);})['catch'](function(_0x2ac08b){const _0x79d887=_0x1c3686;logger['info'](JSON[_0x79d887('0xb')](_0x2ac08b));});},module[_0x5e7666('0x2')]={'up':function(_0x560a39){const _0x12ac48=_0x5e7666,_0x16e18c=new Migration(_0x560a39);_0x16e18c[_0x12ac48('0x4')](_0x12ac48('0x8')),_0x16e18c[_0x12ac48('0x4')]('report_jscripty_inputs'),_0x16e18c['dropTable'](_0x12ac48('0xf')),_0x16e18c[_0x12ac48('0x4')](_0x12ac48('0x1'));},'down':function(){}};
\ No newline at end of file
+const a899_0x1bc9=['dropTable','renameColumn','catch','exports','report_jscripty_sessions','prototype','report_jscripty_inputs','jscripty_projects','table\x20dropped\x20%s','stringify','info','Removed\x20column\x20%s\x20from\x20%s','addColumn','queryInterface','Added\x20column\x20%s\x20to\x20%s','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','../config/logger','then'];(function(_0x25b8c9,_0x1bc989){const _0x33a673=function(_0x436f9b){while(--_0x436f9b){_0x25b8c9['push'](_0x25b8c9['shift']());}};_0x33a673(++_0x1bc989);}(a899_0x1bc9,0x1b9));const a899_0x33a6=function(_0x25b8c9,_0x1bc989){_0x25b8c9=_0x25b8c9-0x0;let _0x33a673=a899_0x1bc9[_0x25b8c9];return _0x33a673;};const _0x14ba65=a899_0x33a6;'use strict';const logger=require(_0x14ba65('0x7'))('migration'),Migration=function(_0x436f9b){const _0x45d837=_0x14ba65;this[_0x45d837('0x4')]=_0x436f9b;};Migration['prototype'][_0x14ba65('0x3')]=function(_0x5843ff,_0x53910b,_0x873c75){const _0x1e0574=_0x14ba65;return this[_0x1e0574('0x4')][_0x1e0574('0x3')](_0x5843ff,_0x53910b,_0x873c75)[_0x1e0574('0x8')](function(){const _0x3528fa=_0x1e0574;logger[_0x3528fa('0x1')](_0x3528fa('0x5'),_0x53910b,_0x5843ff);})[_0x1e0574('0xb')](function(_0x4d6ad1){const _0x3ef7f5=_0x1e0574;logger[_0x3ef7f5('0x1')](JSON[_0x3ef7f5('0x0')](_0x4d6ad1));});},Migration[_0x14ba65('0xe')]['removeColumn']=function(_0x57296d,_0x2657dc){const _0x2f002d=_0x14ba65;return this[_0x2f002d('0x4')]['removeColumn'](_0x57296d,_0x2657dc)[_0x2f002d('0x8')](function(){const _0x239b4c=_0x2f002d;logger[_0x239b4c('0x1')](_0x239b4c('0x2'),_0x2657dc,_0x57296d);})[_0x2f002d('0xb')](function(_0xb23b20){const _0x30740c=_0x2f002d;logger[_0x30740c('0x1')](JSON['stringify'](_0xb23b20));});},Migration['prototype'][_0x14ba65('0xa')]=function(_0x4c7634,_0x30401c,_0x2f4e80){const _0x1c85f2=_0x14ba65;return this[_0x1c85f2('0x4')][_0x1c85f2('0xa')](_0x4c7634,_0x30401c,_0x2f4e80)['then'](function(){const _0x4fe881=_0x1c85f2;logger[_0x4fe881('0x1')](_0x4fe881('0x6'),_0x30401c,_0x2f4e80,_0x4c7634);})[_0x1c85f2('0xb')](function(_0x5b2609){const _0x109785=_0x1c85f2;logger[_0x109785('0x1')](JSON[_0x109785('0x0')](_0x5b2609));});},Migration[_0x14ba65('0xe')][_0x14ba65('0x9')]=function(_0x19025f){const _0x1c874a=_0x14ba65;return this[_0x1c874a('0x4')][_0x1c874a('0x9')](_0x19025f)[_0x1c874a('0x8')](function(){const _0x36f4b5=_0x1c874a;logger[_0x36f4b5('0x1')](_0x36f4b5('0x11'),_0x19025f);})['catch'](function(_0x4e18b2){const _0x194a59=_0x1c874a;logger[_0x194a59('0x1')](JSON['stringify'](_0x4e18b2));});},module[_0x14ba65('0xc')]={'up':function(_0x17ba86){const _0x17b647=_0x14ba65,_0x387285=new Migration(_0x17ba86);_0x387285['dropTable'](_0x17b647('0x10')),_0x387285[_0x17b647('0x9')](_0x17b647('0xf')),_0x387285[_0x17b647('0x9')]('report_jscripty_questions'),_0x387285[_0x17b647('0x9')](_0x17b647('0xd'));},'down':function(){}};
\ No newline at end of file