Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / config / seedDB / squareOdbc.js
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');});};