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 _0xce89=['exports','define','Migration','util','moment','path','rimraf'];(function(_0x241119,_0x426e1e){var _0x417add=function(_0x45530a){while(--_0x45530a){_0x241119['push'](_0x241119['shift']());}};_0x417add(++_0x426e1e);}(_0xce89,0xb2));var _0x9ce8=function(_0x1dd907,_0x49e59f){_0x1dd907=_0x1dd907-0x0;var _0x33c1ef=_0xce89[_0x1dd907];return _0x33c1ef;};'use strict';var _=require('lodash');var util=require(_0x9ce8('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x9ce8('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9ce8('0x2'));var rimraf=require(_0x9ce8('0x3'));var config=require('../../config/environment');var attributes=require('./migration.attributes');module[_0x9ce8('0x4')]=function(_0x458c29,_0x5955e3){return _0x458c29[_0x9ce8('0x5')](_0x9ce8('0x6'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};