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 _0x9e40=['request-promise','path','./migration.attributes','define','lodash','util','api','moment','bluebird'];(function(_0x368787,_0x29d74f){var _0x545265=function(_0x35b1d1){while(--_0x35b1d1){_0x368787['push'](_0x368787['shift']());}};_0x545265(++_0x29d74f);}(_0x9e40,0x124));var _0x09e4=function(_0x357de2,_0x168f76){_0x357de2=_0x357de2-0x0;var _0x329326=_0x9e40[_0x357de2];return _0x329326;};'use strict';var _=require(_0x09e4('0x0'));var util=require(_0x09e4('0x1'));var logger=require('../../config/logger')(_0x09e4('0x2'));var moment=require(_0x09e4('0x3'));var BPromise=require(_0x09e4('0x4'));var rp=require(_0x09e4('0x5'));var fs=require('fs');var path=require(_0x09e4('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x09e4('0x7'));module['exports']=function(_0x12ff6b,_0x3d18a7){return _0x12ff6b[_0x09e4('0x8')]('Migration',attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};