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 _0x9f64=['lodash','util','moment','bluebird','request-promise','path','rimraf','exports','define','Migration','migrations'];(function(_0x30dbfe,_0x19dd69){var _0x32eec3=function(_0x7031c2){while(--_0x7031c2){_0x30dbfe['push'](_0x30dbfe['shift']());}};_0x32eec3(++_0x19dd69);}(_0x9f64,0x9a));var _0x49f6=function(_0x4b7895,_0x3c4f5d){_0x4b7895=_0x4b7895-0x0;var _0x264180=_0x9f64[_0x4b7895];return _0x264180;};'use strict';var _=require(_0x49f6('0x0'));var util=require(_0x49f6('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x49f6('0x2'));var BPromise=require(_0x49f6('0x3'));var rp=require(_0x49f6('0x4'));var fs=require('fs');var path=require(_0x49f6('0x5'));var rimraf=require(_0x49f6('0x6'));var config=require('../../config/environment');var attributes=require('./migration.attributes');module[_0x49f6('0x7')]=function(_0x4c9a03,_0x773dd3){return _0x4c9a03[_0x49f6('0x8')](_0x49f6('0x9'),attributes,{'tableName':_0x49f6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};