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 _0xe19b=['bluebird','request-promise','path','./migration.attributes','exports','define','Migration','migrations','lodash','util','api','moment'];(function(_0x1e3c16,_0x372caa){var _0x47a0c9=function(_0x47f81d){while(--_0x47f81d){_0x1e3c16['push'](_0x1e3c16['shift']());}};_0x47a0c9(++_0x372caa);}(_0xe19b,0x1e8));var _0xbe19=function(_0xd305e1,_0x164f9a){_0xd305e1=_0xd305e1-0x0;var _0x4fbfc4=_0xe19b[_0xd305e1];return _0x4fbfc4;};'use strict';var _=require(_0xbe19('0x0'));var util=require(_0xbe19('0x1'));var logger=require('../../config/logger')(_0xbe19('0x2'));var moment=require(_0xbe19('0x3'));var BPromise=require(_0xbe19('0x4'));var rp=require(_0xbe19('0x5'));var fs=require('fs');var path=require(_0xbe19('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xbe19('0x7'));module[_0xbe19('0x8')]=function(_0x84ac94,_0x2d4287){return _0x84ac94[_0xbe19('0x9')](_0xbe19('0xa'),attributes,{'tableName':_0xbe19('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};