Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / config / seedDB / companies.js
index 697b96e..2ee09b3 100644 (file)
@@ -1 +1 @@
-const a857_0x15a3=['create','Turin','info','catch','../../mysqldb','info@xcally.com','Companies\x20have\x20been\x20created','then','Italy','www.xcallymotion.com','company\x20auto\x20generated','CmCompany','xcally.com','app','Xenialab','+3901119886500','error','../logger','Corso\x20Vittorio\x20Emanuele\x20II,\x20111','bulkCreate','09668910012','Can\x27t\x20create\x20Companies'];(function(_0x56c615,_0x15a309){const _0x2ede2e=function(_0xca10fa){while(--_0xca10fa){_0x56c615['push'](_0x56c615['shift']());}};_0x2ede2e(++_0x15a309);}(a857_0x15a3,0xdc));const a857_0x2ede=function(_0x56c615,_0x15a309){_0x56c615=_0x56c615-0x0;let _0x2ede2e=a857_0x15a3[_0x56c615];return _0x2ede2e;};const _0x46a379=a857_0x2ede;'use strict';const db=require(_0x46a379('0x4'))['db'],logger=require(_0x46a379('0x11'))(_0x46a379('0xd')),companies=[{'id':0x1,'name':_0x46a379('0xe'),'type':'srl','vat':_0x46a379('0x14'),'phone':_0x46a379('0xf'),'fax':'+390110960070','website':_0x46a379('0x9'),'email':_0x46a379('0x5'),'emailDomain':_0x46a379('0xc'),'street':_0x46a379('0x12'),'postalCode':'10128','city':_0x46a379('0x1'),'country':_0x46a379('0x8'),'description':_0x46a379('0xa')}];exports[_0x46a379('0x0')]=function(){const _0x958da0=_0x46a379;return db[_0x958da0('0xb')][_0x958da0('0x13')](companies,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x958da0('0x7')](function(){const _0xbd5fad=_0x958da0;logger[_0xbd5fad('0x2')](_0xbd5fad('0x6'));})[_0x958da0('0x3')](function(){const _0x4131f0=_0x958da0;logger[_0x4131f0('0x10')](_0x4131f0('0x15'));});};
\ No newline at end of file
+const a857_0x3b61=['10128','www.xcallymotion.com','CmCompany','Xenialab','Italy','create','srl','+390110960070','info@xcally.com','app','Turin','catch','../../mysqldb','../logger','Companies\x20have\x20been\x20created','Can\x27t\x20create\x20Companies','09668910012','info','error','Corso\x20Vittorio\x20Emanuele\x20II,\x20111'];(function(_0x4c3d03,_0x3b6108){const _0x16798a=function(_0x1c0093){while(--_0x1c0093){_0x4c3d03['push'](_0x4c3d03['shift']());}};_0x16798a(++_0x3b6108);}(a857_0x3b61,0xe5));const a857_0x1679=function(_0x4c3d03,_0x3b6108){_0x4c3d03=_0x4c3d03-0x0;let _0x16798a=a857_0x3b61[_0x4c3d03];return _0x16798a;};const _0x5335ac=a857_0x1679;'use strict';const db=require(_0x5335ac('0x3'))['db'],logger=require(_0x5335ac('0x4'))(_0x5335ac('0x0')),companies=[{'id':0x1,'name':_0x5335ac('0xe'),'type':_0x5335ac('0x11'),'vat':_0x5335ac('0x7'),'phone':'+3901119886500','fax':_0x5335ac('0x12'),'website':_0x5335ac('0xc'),'email':_0x5335ac('0x13'),'emailDomain':'xcally.com','street':_0x5335ac('0xa'),'postalCode':_0x5335ac('0xb'),'city':_0x5335ac('0x1'),'country':_0x5335ac('0xf'),'description':'company\x20auto\x20generated'}];exports[_0x5335ac('0x10')]=function(){const _0x55a341=_0x5335ac;return db[_0x55a341('0xd')]['bulkCreate'](companies,{'ignoreDuplicates':!![],'individualHooks':!![]})['then'](function(){const _0x3fdad2=_0x55a341;logger[_0x3fdad2('0x8')](_0x3fdad2('0x5'));})[_0x55a341('0x2')](function(){const _0xc6ebf5=_0x55a341;logger[_0xc6ebf5('0x9')](_0xc6ebf5('0x6'));});};
\ No newline at end of file