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 _0x9c22=['rimraf','../../config/environment','./migration.attributes','exports','define','Migration','lodash','util','moment','bluebird'];(function(_0x53ec56,_0x193a1e){var _0x2e2aa2=function(_0x42da16){while(--_0x42da16){_0x53ec56['push'](_0x53ec56['shift']());}};_0x2e2aa2(++_0x193a1e);}(_0x9c22,0x16e));var _0x29c2=function(_0x203f90,_0x1f112d){_0x203f90=_0x203f90-0x0;var _0x3f8714=_0x9c22[_0x203f90];return _0x3f8714;};'use strict';var _=require(_0x29c2('0x0'));var util=require(_0x29c2('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x29c2('0x2'));var BPromise=require(_0x29c2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x29c2('0x4'));var config=require(_0x29c2('0x5'));var attributes=require(_0x29c2('0x6'));module[_0x29c2('0x7')]=function(_0x334660,_0x5770a3){return _0x334660[_0x29c2('0x8')](_0x29c2('0x9'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};