Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / config / seedDB / squareOdbc.js
index 140dc57..003b1c4 100644 (file)
@@ -1 +1 @@
-const a871_0x5e94=['error','create','ODBC\x20have\x20been\x20created','SquareOdbc','then','bulkCreate','xcally-motion-database','DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=xC@LL1234;DATABASE=motion2','../logger','catch','app','../../mysqldb','info'];(function(_0x1710b1,_0x5e9448){const _0x3ced03=function(_0x2279f9){while(--_0x2279f9){_0x1710b1['push'](_0x1710b1['shift']());}};_0x3ced03(++_0x5e9448);}(a871_0x5e94,0x13b));const a871_0x3ced=function(_0x1710b1,_0x5e9448){_0x1710b1=_0x1710b1-0x0;let _0x3ced03=a871_0x5e94[_0x1710b1];return _0x3ced03;};const _0x51faf0=a871_0x3ced;'use strict';const db=require(_0x51faf0('0x8'))['db'],logger=require(_0x51faf0('0x5'))(_0x51faf0('0x7')),odbc=[{'id':0x1,'name':_0x51faf0('0x3'),'dsn':_0x51faf0('0x4'),'description':'xcally\x20motion\x20db\x20auto\x20generated'}];exports[_0x51faf0('0xb')]=function(){const _0xe08d9a=_0x51faf0;return db[_0xe08d9a('0x0')][_0xe08d9a('0x2')](odbc,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0xe08d9a('0x1')](function(){const _0x33340c=_0xe08d9a;logger[_0x33340c('0x9')](_0x33340c('0xc'));})[_0xe08d9a('0x6')](function(){const _0x4dc14a=_0xe08d9a;logger[_0x4dc14a('0xa')]('Can\x27t\x20create\x20ODBC');});};
\ No newline at end of file
+const a1033_0x3592=['xcally-motion-database','catch','../logger','ODBC\x20have\x20been\x20created','app','info','SquareOdbc','xcally\x20motion\x20db\x20auto\x20generated','DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=xC@LL1234;DATABASE=motion2','../../mysqldb','then','Can\x27t\x20create\x20ODBC'];(function(_0x1af410,_0x1632e1){const _0x35925a=function(_0x2ad1aa){while(--_0x2ad1aa){_0x1af410['push'](_0x1af410['shift']());}};_0x35925a(++_0x1632e1);}(a1033_0x3592,0x1a3));const a1033_0x2ad1=function(_0x1af410,_0x1632e1){_0x1af410=_0x1af410-0x1f1;let _0x35925a=a1033_0x3592[_0x1af410];return _0x35925a;};const a1033_0x1a8d81=a1033_0x2ad1;'use strict';const {db}=require(a1033_0x1a8d81(0x1fb)),logger=require(a1033_0x1a8d81(0x1f4))(a1033_0x1a8d81(0x1f6)),odbc=[{'id':0x1,'name':a1033_0x1a8d81(0x1f2),'dsn':a1033_0x1a8d81(0x1fa),'description':a1033_0x1a8d81(0x1f9)}];exports['create']=function(){const _0x1de806=a1033_0x1a8d81;return db[_0x1de806(0x1f8)]['bulkCreate'](odbc,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x1de806(0x1fc)](function(){const _0x83e4fb=_0x1de806;logger[_0x83e4fb(0x1f7)](_0x83e4fb(0x1f5));})[_0x1de806(0x1f3)](function(){const _0x4d762f=_0x1de806;logger['error'](_0x4d762f(0x1f1));});};
\ No newline at end of file