5a1f8849499928238b6928de4f9f5fa33e4d9205
[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 _0x9043=['./migration.attributes','exports','define','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x57fee7,_0x399fb3){var _0x5c06dc=function(_0x322986){while(--_0x322986){_0x57fee7['push'](_0x57fee7['shift']());}};_0x5c06dc(++_0x399fb3);}(_0x9043,0x116));var _0x3904=function(_0x2eceaf,_0x51c173){_0x2eceaf=_0x2eceaf-0x0;var _0x256aed=_0x9043[_0x2eceaf];return _0x256aed;};'use strict';var _=require(_0x3904('0x0'));var util=require(_0x3904('0x1'));var logger=require(_0x3904('0x2'))(_0x3904('0x3'));var moment=require(_0x3904('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3904('0x5'));var rimraf=require(_0x3904('0x6'));var config=require(_0x3904('0x7'));var attributes=require(_0x3904('0x8'));module[_0x3904('0x9')]=function(_0x22399e,_0x20aa1e){return _0x22399e[_0x3904('0xa')]('Migration',attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};