Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / config / seedDB / userProfiles.js
index 5660a8a..3c07ae3 100644 (file)
@@ -1 +1 @@
-const a878_0x1157=['../logger','then','create','Auto\x20generated\x20User\x20Profile','Default','error','info','UserProfile','bulkCreate'];(function(_0x376302,_0x115777){const _0x42090f=function(_0x5c2af0){while(--_0x5c2af0){_0x376302['push'](_0x376302['shift']());}};_0x42090f(++_0x115777);}(a878_0x1157,0x92));const a878_0x4209=function(_0x376302,_0x115777){_0x376302=_0x376302-0x0;let _0x42090f=a878_0x1157[_0x376302];return _0x42090f;};const _0x53625d=a878_0x4209;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0x53625d('0x7'))('app'),userProfiles=[{'id':0x1,'name':_0x53625d('0x2'),'crudPermissions':['r','e','d'],'description':_0x53625d('0x1')}];exports[_0x53625d('0x0')]=function(){const _0x49d6af=_0x53625d;return db[_0x49d6af('0x5')][_0x49d6af('0x6')](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x49d6af('0x8')](function(){const _0x4d1b59=_0x49d6af;logger[_0x4d1b59('0x4')]('User\x20Profiles\x20have\x20been\x20created');})['catch'](function(){const _0xebc029=_0x49d6af;logger[_0xebc029('0x3')]('Can\x27t\x20create\x20User\x20Profiles');});};
\ No newline at end of file
+const a878_0x44a5=['../../mysqldb','Can\x27t\x20create\x20User\x20Profiles','bulkCreate','create','Auto\x20generated\x20User\x20Profile','Default','info','app','../logger','then','UserProfile'];(function(_0x49a4d3,_0x44a516){const _0x4163f7=function(_0x2f6880){while(--_0x2f6880){_0x49a4d3['push'](_0x49a4d3['shift']());}};_0x4163f7(++_0x44a516);}(a878_0x44a5,0xc3));const a878_0x4163=function(_0x49a4d3,_0x44a516){_0x49a4d3=_0x49a4d3-0x0;let _0x4163f7=a878_0x44a5[_0x49a4d3];return _0x4163f7;};const _0x3b5a95=a878_0x4163;'use strict';const db=require(_0x3b5a95('0x3'))['db'],logger=require(_0x3b5a95('0x0'))(_0x3b5a95('0xa')),userProfiles=[{'id':0x1,'name':_0x3b5a95('0x8'),'crudPermissions':['r','e','d'],'description':_0x3b5a95('0x7')}];exports[_0x3b5a95('0x6')]=function(){const _0x37de03=_0x3b5a95;return db[_0x37de03('0x2')][_0x37de03('0x5')](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x37de03('0x1')](function(){const _0xe62ac9=_0x37de03;logger[_0xe62ac9('0x9')]('User\x20Profiles\x20have\x20been\x20created');})['catch'](function(){const _0x3020f7=_0x37de03;logger['error'](_0x3020f7('0x4'));});};
\ No newline at end of file