Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.20.js
index 13e04fe..0cd7138 100644 (file)
@@ -1 +1 @@
-const a899_0x8370=['then','catch','queryInterface','Added\x20column\x20%s\x20to\x20%s','table\x20dropped\x20%s','Removed\x20column\x20%s\x20from\x20%s','report_jscripty_sessions','prototype','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','addColumn','renameColumn','migration','dropTable','removeColumn','report_jscripty_inputs','report_jscripty_questions','exports','../config/logger','info','stringify'];(function(_0x210b88,_0x837052){const _0x24e134=function(_0x1c66d4){while(--_0x1c66d4){_0x210b88['push'](_0x210b88['shift']());}};_0x24e134(++_0x837052);}(a899_0x8370,0x10c));const a899_0x24e1=function(_0x210b88,_0x837052){_0x210b88=_0x210b88-0x0;let _0x24e134=a899_0x8370[_0x210b88];return _0x24e134;};const _0x4d82e7=a899_0x24e1;'use strict';const logger=require(_0x4d82e7('0x9'))(_0x4d82e7('0x3')),Migration=function(_0x1c66d4){const _0x9c8a01=_0x4d82e7;this[_0x9c8a01('0xe')]=_0x1c66d4;};Migration[_0x4d82e7('0x13')][_0x4d82e7('0x1')]=function(_0x188919,_0x449087,_0x58c8cc){const _0x12f001=_0x4d82e7;return this[_0x12f001('0xe')][_0x12f001('0x1')](_0x188919,_0x449087,_0x58c8cc)['then'](function(){const _0x5ecc62=_0x12f001;logger[_0x5ecc62('0xa')](_0x5ecc62('0xf'),_0x449087,_0x188919);})[_0x12f001('0xd')](function(_0xc1aa3){const _0x56e146=_0x12f001;logger[_0x56e146('0xa')](JSON[_0x56e146('0xb')](_0xc1aa3));});},Migration['prototype'][_0x4d82e7('0x5')]=function(_0x2065e5,_0x548e35){const _0x15ffd4=_0x4d82e7;return this['queryInterface']['removeColumn'](_0x2065e5,_0x548e35)[_0x15ffd4('0xc')](function(){const _0x1ec5dd=_0x15ffd4;logger[_0x1ec5dd('0xa')](_0x1ec5dd('0x11'),_0x548e35,_0x2065e5);})['catch'](function(_0x7fea03){const _0x4004b8=_0x15ffd4;logger[_0x4004b8('0xa')](JSON[_0x4004b8('0xb')](_0x7fea03));});},Migration[_0x4d82e7('0x13')]['renameColumn']=function(_0x30d9d8,_0xa28cb9,_0x41ba52){const _0x33bd49=_0x4d82e7;return this[_0x33bd49('0xe')][_0x33bd49('0x2')](_0x30d9d8,_0xa28cb9,_0x41ba52)[_0x33bd49('0xc')](function(){const _0x24856d=_0x33bd49;logger[_0x24856d('0xa')](_0x24856d('0x0'),_0xa28cb9,_0x41ba52,_0x30d9d8);})[_0x33bd49('0xd')](function(_0x3afaff){const _0x112265=_0x33bd49;logger[_0x112265('0xa')](JSON[_0x112265('0xb')](_0x3afaff));});},Migration['prototype'][_0x4d82e7('0x4')]=function(_0x207156){const _0x48f4a7=_0x4d82e7;return this[_0x48f4a7('0xe')][_0x48f4a7('0x4')](_0x207156)[_0x48f4a7('0xc')](function(){const _0x498bd6=_0x48f4a7;logger[_0x498bd6('0xa')](_0x498bd6('0x10'),_0x207156);})[_0x48f4a7('0xd')](function(_0x1eb6e7){const _0x496841=_0x48f4a7;logger['info'](JSON[_0x496841('0xb')](_0x1eb6e7));});},module[_0x4d82e7('0x8')]={'up':function(_0x1dc347){const _0x92650f=_0x4d82e7,_0x48046d=new Migration(_0x1dc347);_0x48046d['dropTable']('jscripty_projects'),_0x48046d[_0x92650f('0x4')](_0x92650f('0x6')),_0x48046d[_0x92650f('0x4')](_0x92650f('0x7')),_0x48046d[_0x92650f('0x4')](_0x92650f('0x12'));},'down':function(){}};
\ No newline at end of file
+const a899_0x2ff6=['Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','renameColumn','info','queryInterface','stringify','catch','Added\x20column\x20%s\x20to\x20%s','Removed\x20column\x20%s\x20from\x20%s','table\x20dropped\x20%s','report_jscripty_inputs','dropTable','then','addColumn','removeColumn','prototype','jscripty_projects','report_jscripty_questions'];(function(_0x509d15,_0x2ff66e){const _0x154d0a=function(_0x22a901){while(--_0x22a901){_0x509d15['push'](_0x509d15['shift']());}};_0x154d0a(++_0x2ff66e);}(a899_0x2ff6,0x190));const a899_0x154d=function(_0x509d15,_0x2ff66e){_0x509d15=_0x509d15-0x0;let _0x154d0a=a899_0x2ff6[_0x509d15];return _0x154d0a;};const _0x515767=a899_0x154d;'use strict';const logger=require('../config/logger')('migration'),Migration=function(_0x22a901){const _0x26a28b=a899_0x154d;this[_0x26a28b('0xb')]=_0x22a901;};Migration[_0x515767('0x5')][_0x515767('0x3')]=function(_0x39119c,_0x3df93a,_0x6acd70){const _0x3c928b=_0x515767;return this['queryInterface']['addColumn'](_0x39119c,_0x3df93a,_0x6acd70)['then'](function(){const _0x239018=a899_0x154d;logger[_0x239018('0xa')](_0x239018('0xe'),_0x3df93a,_0x39119c);})[_0x3c928b('0xd')](function(_0x3f939f){logger['info'](JSON['stringify'](_0x3f939f));});},Migration[_0x515767('0x5')][_0x515767('0x4')]=function(_0x30bfc8,_0x10cb48){const _0x401a36=_0x515767;return this[_0x401a36('0xb')][_0x401a36('0x4')](_0x30bfc8,_0x10cb48)[_0x401a36('0x2')](function(){const _0x521b22=_0x401a36;logger[_0x521b22('0xa')](_0x521b22('0xf'),_0x10cb48,_0x30bfc8);})['catch'](function(_0x26c3bb){const _0x5b2ebf=_0x401a36;logger[_0x5b2ebf('0xa')](JSON['stringify'](_0x26c3bb));});},Migration['prototype'][_0x515767('0x9')]=function(_0x15fc0a,_0x1ea545,_0x269523){const _0x1dee1b=_0x515767;return this[_0x1dee1b('0xb')]['renameColumn'](_0x15fc0a,_0x1ea545,_0x269523)[_0x1dee1b('0x2')](function(){const _0x1568f5=_0x1dee1b;logger[_0x1568f5('0xa')](_0x1568f5('0x8'),_0x1ea545,_0x269523,_0x15fc0a);})[_0x1dee1b('0xd')](function(_0x3c91aa){const _0x39ed60=_0x1dee1b;logger[_0x39ed60('0xa')](JSON[_0x39ed60('0xc')](_0x3c91aa));});},Migration[_0x515767('0x5')][_0x515767('0x1')]=function(_0x2f0de3){const _0x4aa903=_0x515767;return this['queryInterface'][_0x4aa903('0x1')](_0x2f0de3)[_0x4aa903('0x2')](function(){const _0x120e7c=_0x4aa903;logger['info'](_0x120e7c('0x10'),_0x2f0de3);})['catch'](function(_0x4c98b5){const _0x5bcb01=_0x4aa903;logger[_0x5bcb01('0xa')](JSON[_0x5bcb01('0xc')](_0x4c98b5));});},module['exports']={'up':function(_0x25084e){const _0x5ab0ef=_0x515767,_0x153dff=new Migration(_0x25084e);_0x153dff[_0x5ab0ef('0x1')](_0x5ab0ef('0x6')),_0x153dff[_0x5ab0ef('0x1')](_0x5ab0ef('0x0')),_0x153dff[_0x5ab0ef('0x1')](_0x5ab0ef('0x7')),_0x153dff[_0x5ab0ef('0x1')]('report_jscripty_sessions');},'down':function(){}};
\ No newline at end of file