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 _0x1f56=['Migration','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x5841db,_0xe7b5db){var _0x2c3bda=function(_0x18b8fa){while(--_0x18b8fa){_0x5841db['push'](_0x5841db['shift']());}};_0x2c3bda(++_0xe7b5db);}(_0x1f56,0x169));var _0x61f5=function(_0x5d6b09,_0x33ee25){_0x5d6b09=_0x5d6b09-0x0;var _0x2adcef=_0x1f56[_0x5d6b09];return _0x2adcef;};'use strict';var _=require(_0x61f5('0x0'));var util=require(_0x61f5('0x1'));var logger=require(_0x61f5('0x2'))('api');var moment=require(_0x61f5('0x3'));var BPromise=require(_0x61f5('0x4'));var rp=require(_0x61f5('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x61f5('0x6'));var config=require(_0x61f5('0x7'));var attributes=require('./migration.attributes');module['exports']=function(_0x399ddb,_0x352591){return _0x399ddb['define'](_0x61f5('0x8'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};