Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / config / seedDB / userProfiles.js
index 202dd0d..0c827ac 100644 (file)
@@ -1 +1 @@
-const a878_0x2d30=['bulkCreate','then','../../mysqldb','create','info','User\x20Profiles\x20have\x20been\x20created','app','Auto\x20generated\x20User\x20Profile','error','UserProfile','catch'];(function(_0x17930c,_0x2d30e6){const _0x14264b=function(_0x9abfa3){while(--_0x9abfa3){_0x17930c['push'](_0x17930c['shift']());}};_0x14264b(++_0x2d30e6);}(a878_0x2d30,0x111));const a878_0x1426=function(_0x17930c,_0x2d30e6){_0x17930c=_0x17930c-0x0;let _0x14264b=a878_0x2d30[_0x17930c];return _0x14264b;};const _0x217721=a878_0x1426;'use strict';const db=require(_0x217721('0x4'))['db'],logger=require('../logger')(_0x217721('0x8')),userProfiles=[{'id':0x1,'name':'Default','crudPermissions':['r','e','d'],'description':_0x217721('0x9')}];exports[_0x217721('0x5')]=function(){const _0x39e358=_0x217721;return db[_0x39e358('0x0')][_0x39e358('0x2')](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x39e358('0x3')](function(){const _0x1a4932=_0x39e358;logger[_0x1a4932('0x6')](_0x1a4932('0x7'));})[_0x39e358('0x1')](function(){const _0xd54091=_0x39e358;logger[_0xd54091('0xa')]('Can\x27t\x20create\x20User\x20Profiles');});};
\ No newline at end of file
+const a878_0x49b4=['bulkCreate','create','then','User\x20Profiles\x20have\x20been\x20created','Auto\x20generated\x20User\x20Profile','Can\x27t\x20create\x20User\x20Profiles','info','catch','../../mysqldb','UserProfile'];(function(_0x1c813d,_0x49b421){const _0x5ab8df=function(_0x8ae9ec){while(--_0x8ae9ec){_0x1c813d['push'](_0x1c813d['shift']());}};_0x5ab8df(++_0x49b421);}(a878_0x49b4,0x11b));const a878_0x5ab8=function(_0x1c813d,_0x49b421){_0x1c813d=_0x1c813d-0x0;let _0x5ab8df=a878_0x49b4[_0x1c813d];return _0x5ab8df;};const _0x14ce2c=a878_0x5ab8;'use strict';const db=require(_0x14ce2c('0x5'))['db'],logger=require('../logger')('app'),userProfiles=[{'id':0x1,'name':'Default','crudPermissions':['r','e','d'],'description':_0x14ce2c('0x1')}];exports[_0x14ce2c('0x8')]=function(){const _0x180891=_0x14ce2c;return db[_0x180891('0x6')][_0x180891('0x7')](userProfiles,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x180891('0x9')](function(){const _0x5f3dc3=_0x180891;logger[_0x5f3dc3('0x3')](_0x5f3dc3('0x0'));})[_0x180891('0x4')](function(){const _0x5d5ef7=_0x180891;logger['error'](_0x5d5ef7('0x2'));});};
\ No newline at end of file