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 _0x30ed=['Migration','migrations','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./migration.attributes','exports','define'];(function(_0x2c73a8,_0x28b556){var _0x595741=function(_0x14ea44){while(--_0x14ea44){_0x2c73a8['push'](_0x2c73a8['shift']());}};_0x595741(++_0x28b556);}(_0x30ed,0x146));var _0xd30e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x30ed[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xd30e('0x0'));var logger=require(_0xd30e('0x1'))(_0xd30e('0x2'));var moment=require('moment');var BPromise=require(_0xd30e('0x3'));var rp=require(_0xd30e('0x4'));var fs=require('fs');var path=require(_0xd30e('0x5'));var rimraf=require('rimraf');var config=require(_0xd30e('0x6'));var attributes=require(_0xd30e('0x7'));module[_0xd30e('0x8')]=function(_0x25b1db,_0x2b600c){return _0x25b1db[_0xd30e('0x9')](_0xd30e('0xa'),attributes,{'tableName':_0xd30e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};