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 _0xb4e7=['bluebird','request-promise','path','rimraf','../../config/environment','./migration.attributes','exports','define','Migration','migrations','util','../../config/logger','api','moment'];(function(_0x190dc5,_0x621866){var _0x40adcc=function(_0x1d43d4){while(--_0x1d43d4){_0x190dc5['push'](_0x190dc5['shift']());}};_0x40adcc(++_0x621866);}(_0xb4e7,0x122));var _0x7b4e=function(_0x29b609,_0x19d388){_0x29b609=_0x29b609-0x0;var _0x54c952=_0xb4e7[_0x29b609];return _0x54c952;};'use strict';var _=require('lodash');var util=require(_0x7b4e('0x0'));var logger=require(_0x7b4e('0x1'))(_0x7b4e('0x2'));var moment=require(_0x7b4e('0x3'));var BPromise=require(_0x7b4e('0x4'));var rp=require(_0x7b4e('0x5'));var fs=require('fs');var path=require(_0x7b4e('0x6'));var rimraf=require(_0x7b4e('0x7'));var config=require(_0x7b4e('0x8'));var attributes=require(_0x7b4e('0x9'));module[_0x7b4e('0xa')]=function(_0x374a93,_0x3ecd4d){return _0x374a93[_0x7b4e('0xb')](_0x7b4e('0xc'),attributes,{'tableName':_0x7b4e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};