79e6960a1c5a14dc6a9cb1f24e95f508637a0a98
[motion2.git] / server / api / migration / migration.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5fc0=['lodash','bluebird','path','rimraf','../../config/environment','./migration.attributes','define'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x5fc0,0x12d));var _0x05fc=function(_0x5a2a20,_0x4c1f2e){_0x5a2a20=_0x5a2a20-0x0;var _0x5c8433=_0x5fc0[_0x5a2a20];return _0x5c8433;};'use strict';var _=require(_0x05fc('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x05fc('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x05fc('0x2'));var rimraf=require(_0x05fc('0x3'));var config=require(_0x05fc('0x4'));var attributes=require(_0x05fc('0x5'));module['exports']=function(_0x5a849e,_0x5ba0fa){return _0x5a849e[_0x05fc('0x6')]('Migration',attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};