Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / config / seedDB / squareOdbc.js
index cc1dd19..de92552 100644 (file)
@@ -1 +1 @@
-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
+const a872_0x370b=['bulkCreate','ODBC\x20have\x20been\x20created','../../mysqldb','info','app','catch','SquareOdbc','then','xcally\x20motion\x20db\x20auto\x20generated','../logger','xcally-motion-database','DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=xC@LL1234;DATABASE=motion2'];(function(_0x6efea,_0x370bdd){const _0x40ba69=function(_0x17d327){while(--_0x17d327){_0x6efea['push'](_0x6efea['shift']());}};_0x40ba69(++_0x370bdd);}(a872_0x370b,0xe7));const a872_0x40ba=function(_0x6efea,_0x370bdd){_0x6efea=_0x6efea-0x0;let _0x40ba69=a872_0x370b[_0x6efea];return _0x40ba69;};const _0x2ff28b=a872_0x40ba;'use strict';const db=require(_0x2ff28b('0xb'))['db'],logger=require(_0x2ff28b('0x6'))(_0x2ff28b('0x1')),odbc=[{'id':0x1,'name':_0x2ff28b('0x7'),'dsn':_0x2ff28b('0x8'),'description':_0x2ff28b('0x5')}];exports['create']=function(){const _0x2a68b8=_0x2ff28b;return db[_0x2a68b8('0x3')][_0x2a68b8('0x9')](odbc,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x2a68b8('0x4')](function(){const _0xcf54a4=_0x2a68b8;logger[_0xcf54a4('0x0')](_0xcf54a4('0xa'));})[_0x2a68b8('0x2')](function(){logger['error']('Can\x27t\x20create\x20ODBC');});};
\ No newline at end of file