1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xf4ee=['../../config/environment','exports','Migration','lodash','util','../../config/logger','bluebird','request-promise','path'];(function(_0x59109f,_0x3bdddd){var _0x39aca7=function(_0x466214){while(--_0x466214){_0x59109f['push'](_0x59109f['shift']());}};_0x39aca7(++_0x3bdddd);}(_0xf4ee,0xae));var _0xef4e=function(_0x1d298c,_0x34ef0a){_0x1d298c=_0x1d298c-0x0;var _0x4aacee=_0xf4ee[_0x1d298c];return _0x4aacee;};'use strict';var _=require(_0xef4e('0x0'));var util=require(_0xef4e('0x1'));var logger=require(_0xef4e('0x2'))('api');var moment=require('moment');var BPromise=require(_0xef4e('0x3'));var rp=require(_0xef4e('0x4'));var fs=require('fs');var path=require(_0xef4e('0x5'));var rimraf=require('rimraf');var config=require(_0xef4e('0x6'));var attributes=require('./migration.attributes');module[_0xef4e('0x7')]=function(_0x13d7a9,_0x221138){return _0x13d7a9['define'](_0xef4e('0x8'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};