Built motion from commit 8dca541896b0ff92bb88a36cc13f4f385b593b4b. Version 3.0.0...
[motion-next.git] / server / config / seedDB / squareOdbc.js
index 48c8a16..cc1dd19 100644 (file)
@@ -1 +1 @@
-const a872_0x1162=['../logger','DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=xC@LL1234;DATABASE=motion2','xcally\x20motion\x20db\x20auto\x20generated','../../mysqldb','then','app','Can\x27t\x20create\x20ODBC','catch','xcally-motion-database','ODBC\x20have\x20been\x20created','create','error','SquareOdbc','bulkCreate'];(function(_0xeedeb8,_0x116231){const _0x23561a=function(_0x20e36b){while(--_0x20e36b){_0xeedeb8['push'](_0xeedeb8['shift']());}};_0x23561a(++_0x116231);}(a872_0x1162,0x78));const a872_0x2356=function(_0xeedeb8,_0x116231){_0xeedeb8=_0xeedeb8-0x0;let _0x23561a=a872_0x1162[_0xeedeb8];return _0x23561a;};const _0x132b80=a872_0x2356;'use strict';const db=require(_0x132b80('0x9'))['db'],logger=require(_0x132b80('0x6'))(_0x132b80('0xb')),odbc=[{'id':0x1,'name':_0x132b80('0x0'),'dsn':_0x132b80('0x7'),'description':_0x132b80('0x8')}];exports[_0x132b80('0x2')]=function(){const _0x1d42fc=_0x132b80;return db[_0x1d42fc('0x4')][_0x1d42fc('0x5')](odbc,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x1d42fc('0xa')](function(){const _0x2d8548=_0x1d42fc;logger['info'](_0x2d8548('0x1'));})[_0x1d42fc('0xd')](function(){const _0xdb62c9=_0x1d42fc;logger[_0xdb62c9('0x3')](_0xdb62c9('0xc'));});};
\ No newline at end of file
+const a872_0xdcca=['DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=xC@LL1234;DATABASE=motion2','create','../../mysqldb','info','Can\x27t\x20create\x20ODBC','error','catch','SquareOdbc','ODBC\x20have\x20been\x20created','then'];(function(_0x541a2f,_0xdccafc){const _0x25a607=function(_0x3e195a){while(--_0x3e195a){_0x541a2f['push'](_0x541a2f['shift']());}};_0x25a607(++_0xdccafc);}(a872_0xdcca,0x80));const a872_0x25a6=function(_0x541a2f,_0xdccafc){_0x541a2f=_0x541a2f-0x0;let _0x25a607=a872_0xdcca[_0x541a2f];return _0x25a607;};const _0xdeb5d6=a872_0x25a6;'use strict';const db=require(_0xdeb5d6('0x4'))['db'],logger=require('../logger')('app'),odbc=[{'id':0x1,'name':'xcally-motion-database','dsn':_0xdeb5d6('0x2'),'description':'xcally\x20motion\x20db\x20auto\x20generated'}];exports[_0xdeb5d6('0x3')]=function(){const _0x139763=_0xdeb5d6;return db[_0x139763('0x9')]['bulkCreate'](odbc,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x139763('0x1')](function(){const _0x1780d9=_0x139763;logger[_0x1780d9('0x5')](_0x1780d9('0x0'));})[_0x139763('0x8')](function(){const _0x2d4c1e=_0x139763;logger[_0x2d4c1e('0x7')](_0x2d4c1e('0x6'));});};
\ No newline at end of file