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 _0xe960=['migrations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','define','Migration'];(function(_0x2e85af,_0x4e8ad4){var _0x2ca79e=function(_0x466941){while(--_0x466941){_0x2e85af['push'](_0x2e85af['shift']());}};_0x2ca79e(++_0x4e8ad4);}(_0xe960,0x90));var _0x0e96=function(_0xfd4d2,_0x52e006){_0xfd4d2=_0xfd4d2-0x0;var _0xc51a6f=_0xe960[_0xfd4d2];return _0xc51a6f;};'use strict';var _=require(_0x0e96('0x0'));var util=require(_0x0e96('0x1'));var logger=require(_0x0e96('0x2'))(_0x0e96('0x3'));var moment=require(_0x0e96('0x4'));var BPromise=require(_0x0e96('0x5'));var rp=require(_0x0e96('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x0e96('0x7'));var attributes=require('./migration.attributes');module['exports']=function(_0x448e25,_0x320d69){return _0x448e25[_0x0e96('0x8')](_0x0e96('0x9'),attributes,{'tableName':_0x0e96('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};