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