Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / config / seedDB / trunks.js
index 2d22369..e733cbb 100644 (file)
@@ -1 +1 @@
-const a1038_0x1eb5=['trunk\x20demo\x20auto\x20generated','error','55xcally55','then','demo','bulkCreate','../../mysqldb','Trunks\x20have\x20been\x20created','app','../logger','info','catch'];(function(_0x52b0c2,_0x2fbfd9){const _0x1eb5fb=function(_0x2ebc91){while(--_0x2ebc91){_0x52b0c2['push'](_0x52b0c2['shift']());}};_0x1eb5fb(++_0x2fbfd9);}(a1038_0x1eb5,0x11c));const a1038_0x2ebc=function(_0x52b0c2,_0x2fbfd9){_0x52b0c2=_0x52b0c2-0x149;let _0x1eb5fb=a1038_0x1eb5[_0x52b0c2];return _0x1eb5fb;};const a1038_0x10c49d=a1038_0x2ebc;'use strict';const {db}=require(a1038_0x10c49d(0x153)),logger=require(a1038_0x10c49d(0x14a))(a1038_0x10c49d(0x149)),trunks=[{'id':0x1,'name':'demo','secret':a1038_0x10c49d(0x14f),'defaultuser':a1038_0x10c49d(0x151),'description':a1038_0x10c49d(0x14d)}];exports['create']=function(){const _0x1eaac0=a1038_0x10c49d;return db['Trunk'][_0x1eaac0(0x152)](trunks,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x1eaac0(0x150)](function(){const _0x532d41=_0x1eaac0;logger[_0x532d41(0x14b)](_0x532d41(0x154));})[_0x1eaac0(0x14c)](function(){const _0x4324ff=_0x1eaac0;logger[_0x4324ff(0x14e)]('Can\x27t\x20create\x20Trunks');});};
\ No newline at end of file
+const a1041_0x54d4=['app','55xcally55','trunk\x20demo\x20auto\x20generated','Trunks\x20have\x20been\x20created','catch','create','error','demo','Trunk'];(function(_0x1a69c4,_0x4626ea){const _0x54d4ee=function(_0xa495c4){while(--_0xa495c4){_0x1a69c4['push'](_0x1a69c4['shift']());}};_0x54d4ee(++_0x4626ea);}(a1041_0x54d4,0x17e));const a1041_0xa495=function(_0x1a69c4,_0x4626ea){_0x1a69c4=_0x1a69c4-0x158;let _0x54d4ee=a1041_0x54d4[_0x1a69c4];return _0x54d4ee;};const a1041_0x12250b=a1041_0xa495;'use strict';const {db}=require('../../mysqldb'),logger=require('../logger')(a1041_0x12250b(0x15d)),trunks=[{'id':0x1,'name':a1041_0x12250b(0x15b),'secret':a1041_0x12250b(0x15e),'defaultuser':a1041_0x12250b(0x15b),'description':a1041_0x12250b(0x15f)}];exports[a1041_0x12250b(0x159)]=function(){const _0xdfee7=a1041_0x12250b;return db[_0xdfee7(0x15c)]['bulkCreate'](trunks,{'ignoreDuplicates':!![],'individualHooks':!![]})['then'](function(){const _0x3eb61e=_0xdfee7;logger['info'](_0x3eb61e(0x160));})[_0xdfee7(0x158)](function(){const _0x29dba2=_0xdfee7;logger[_0x29dba2(0x15a)]('Can\x27t\x20create\x20Trunks');});};
\ No newline at end of file