Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / config / seedDB / userProfiles.js
index af14fb0..f83ec50 100644 (file)
@@ -1 +1 @@
-'use strict';const a1047_0x4a7f=['397ozNOAd','error','26HTyaMY','2PAyBSI','1336477evfIRv','1433982lCDPdn','@mysqldb','then','Can\x27t\x20create\x20User\x20Profiles','3346FsTdrc','../logger','UserProfile','1614017fJcCGi','info','1wkjLBN','31987nNIRCJ','189624GxbFIi','2605951IHtDww','Default','User\x20Profiles\x20have\x20been\x20created'];const a1047_0x3e58=function(_0x403771,_0x524759){_0x403771=_0x403771-0x150;let _0x4a7f62=a1047_0x4a7f[_0x403771];return _0x4a7f62;};const a1047_0x3c7ea6=a1047_0x3e58;(function(_0x279331,_0x2fa7c5){const _0x5952c1=a1047_0x3e58;while(!![]){try{const _0x2baad0=parseInt(_0x5952c1(0x154))*-parseInt(_0x5952c1(0x15d))+-parseInt(_0x5952c1(0x160))+parseInt(_0x5952c1(0x163))*parseInt(_0x5952c1(0x156))+parseInt(_0x5952c1(0x159))*parseInt(_0x5952c1(0x162))+-parseInt(_0x5952c1(0x158))+-parseInt(_0x5952c1(0x157))*-parseInt(_0x5952c1(0x150))+parseInt(_0x5952c1(0x151));if(_0x2baad0===_0x2fa7c5)break;else _0x279331['push'](_0x279331['shift']());}catch(_0x3841ae){_0x279331['push'](_0x279331['shift']());}}}(a1047_0x4a7f,0xed4d3));const {db}=require(a1047_0x3c7ea6(0x15a)),logger=require(a1047_0x3c7ea6(0x15e))('app'),userProfiles=[{'id':0x1,'name':a1047_0x3c7ea6(0x152),'crudPermissions':['r','e','d'],'description':'Auto\x20generated\x20User\x20Profile'}];exports['create']=function(){const _0x3f6096=a1047_0x3c7ea6;return db[_0x3f6096(0x15f)]['bulkCreate'](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x3f6096(0x15b)](function(){const _0x2abbb6=_0x3f6096;logger[_0x2abbb6(0x161)](_0x2abbb6(0x153));})['catch'](function(){const _0x3b3b38=_0x3f6096;logger[_0x3b3b38(0x155)](_0x3b3b38(0x15c));});};
\ No newline at end of file
+'use strict';const a1049_0x3a98=['UserProfile','39uoZOOb','1989YzZBdd','bulkCreate','29AsmwvT','User\x20Profiles\x20have\x20been\x20created','2NjGYzR','100038DCPiHu','5tYhwCe','info','45002UBEiBx','then','169jALPJo','1Ltweoj','app','167801jjVEOS','Can\x27t\x20create\x20User\x20Profiles','2570iPWeNR','Default','@mysqldb','118385fPXZTM','1523KZBZsY','../logger'];const a1049_0x8cbc=function(_0x5abe28,_0x4204be){_0x5abe28=_0x5abe28-0x1ce;let _0x3a98d7=a1049_0x3a98[_0x5abe28];return _0x3a98d7;};const a1049_0x818d85=a1049_0x8cbc;(function(_0x8f8983,_0x28f0f1){const _0xd76073=a1049_0x8cbc;while(!![]){try{const _0xd6b7f7=-parseInt(_0xd76073(0x1e3))*-parseInt(_0xd76073(0x1d5))+-parseInt(_0xd76073(0x1d4))+-parseInt(_0xd76073(0x1dd))*parseInt(_0xd76073(0x1de))+parseInt(_0xd76073(0x1df))*parseInt(_0xd76073(0x1e1))+-parseInt(_0xd76073(0x1cf))*parseInt(_0xd76073(0x1e4))+parseInt(_0xd76073(0x1d9))*parseInt(_0xd76073(0x1d8))+parseInt(_0xd76073(0x1d1))*parseInt(_0xd76073(0x1db));if(_0xd6b7f7===_0x28f0f1)break;else _0x8f8983['push'](_0x8f8983['shift']());}catch(_0x2646bb){_0x8f8983['push'](_0x8f8983['shift']());}}}(a1049_0x3a98,0x2430c));const {db}=require(a1049_0x818d85(0x1d3)),logger=require(a1049_0x818d85(0x1d6))(a1049_0x818d85(0x1ce)),userProfiles=[{'id':0x1,'name':a1049_0x818d85(0x1d2),'crudPermissions':['r','e','d'],'description':'Auto\x20generated\x20User\x20Profile'}];exports['create']=function(){const _0x5a539c=a1049_0x818d85;return db[_0x5a539c(0x1d7)][_0x5a539c(0x1da)](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x5a539c(0x1e2)](function(){const _0x204c8d=_0x5a539c;logger[_0x204c8d(0x1e0)](_0x204c8d(0x1dc));})['catch'](function(){const _0x5ee268=_0x5a539c;logger['error'](_0x5ee268(0x1d0));});};
\ No newline at end of file