e0063cce333ea2b7690de6770aaa1cdb95349e87
[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 _0x880e=['moment','bluebird','path','../../config/environment','./migration.attributes','Migration','lodash','../../config/logger','api'];(function(_0x405541,_0x2945cc){var _0x194a1e=function(_0x46fffe){while(--_0x46fffe){_0x405541['push'](_0x405541['shift']());}};_0x194a1e(++_0x2945cc);}(_0x880e,0x180));var _0xe880=function(_0x513f27,_0x1cbc87){_0x513f27=_0x513f27-0x0;var _0xa316b7=_0x880e[_0x513f27];return _0xa316b7;};'use strict';var _=require(_0xe880('0x0'));var util=require('util');var logger=require(_0xe880('0x1'))(_0xe880('0x2'));var moment=require(_0xe880('0x3'));var BPromise=require(_0xe880('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe880('0x5'));var rimraf=require('rimraf');var config=require(_0xe880('0x6'));var attributes=require(_0xe880('0x7'));module['exports']=function(_0x26739b,_0x475649){return _0x26739b['define'](_0xe880('0x8'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};