Built motion from commit (unavailable).|2.5.17
[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 _0xf311=['path','../../config/environment','./migration.attributes','exports','define','lodash','util','moment','request-promise'];(function(_0x1f0f2f,_0x587f0f){var _0x22c04e=function(_0x124b91){while(--_0x124b91){_0x1f0f2f['push'](_0x1f0f2f['shift']());}};_0x22c04e(++_0x587f0f);}(_0xf311,0x113));var _0x1f31=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xf311[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x1f31('0x0'));var util=require(_0x1f31('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x1f31('0x2'));var BPromise=require('bluebird');var rp=require(_0x1f31('0x3'));var fs=require('fs');var path=require(_0x1f31('0x4'));var rimraf=require('rimraf');var config=require(_0x1f31('0x5'));var attributes=require(_0x1f31('0x6'));module[_0x1f31('0x7')]=function(_0xee39d,_0x174001){return _0xee39d[_0x1f31('0x8')]('Migration',attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};