Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / config / seedDB / migrations.js
index 3c65f42..1fa0387 100644 (file)
@@ -1 +1 @@
-const a866_0x15bd=['then','catch','.js','info','app','Migration','../../mysqldb','Version\x20have\x20been\x20created','error','Can\x27t\x20create\x20Version','../logger'];(function(_0x46c5c7,_0x15bded){const _0x55111f=function(_0x1d5fba){while(--_0x1d5fba){_0x46c5c7['push'](_0x46c5c7['shift']());}};_0x55111f(++_0x15bded);}(a866_0x15bd,0x136));const a866_0x5511=function(_0x46c5c7,_0x15bded){_0x46c5c7=_0x46c5c7-0x0;let _0x55111f=a866_0x15bd[_0x46c5c7];return _0x55111f;};const _0x2c915c=a866_0x5511;'use strict';const db=require(_0x2c915c('0x4'))['db'],logger=require(_0x2c915c('0x8'))(_0x2c915c('0x2')),{version:packageVersion}=require('../../../package.json');exports['create']=function(){const _0x134fed=_0x2c915c;return db[_0x134fed('0x3')]['create']({'version':packageVersion+_0x134fed('0x0')})[_0x134fed('0x9')](function(){const _0xd296fa=_0x134fed;logger[_0xd296fa('0x1')](_0xd296fa('0x5'));})[_0x134fed('0xa')](function(){const _0x36390f=_0x134fed;logger[_0x36390f('0x6')](_0x36390f('0x7'));});};
\ No newline at end of file
+const a866_0x452b=['create','app','Can\x27t\x20create\x20Version','../../../package.json','catch','Migration','../logger','then','error','.js'];(function(_0xb5907f,_0x452bd1){const _0x57981b=function(_0x5a915a){while(--_0x5a915a){_0xb5907f['push'](_0xb5907f['shift']());}};_0x57981b(++_0x452bd1);}(a866_0x452b,0x94));const a866_0x5798=function(_0xb5907f,_0x452bd1){_0xb5907f=_0xb5907f-0x0;let _0x57981b=a866_0x452b[_0xb5907f];return _0x57981b;};const _0x307f73=a866_0x5798;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0x307f73('0x8'))(_0x307f73('0x3')),{version:packageVersion}=require(_0x307f73('0x5'));exports[_0x307f73('0x2')]=function(){const _0x38eba5=_0x307f73;return db[_0x38eba5('0x7')][_0x38eba5('0x2')]({'version':packageVersion+_0x38eba5('0x1')})[_0x38eba5('0x9')](function(){logger['info']('Version\x20have\x20been\x20created');})[_0x38eba5('0x6')](function(){const _0x137aa7=_0x38eba5;logger[_0x137aa7('0x0')](_0x137aa7('0x4'));});};
\ No newline at end of file