b3c8faa82dc112df304e85a7963709100cec4535
[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 _0xa31b=['./migration.attributes','exports','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0xa31b,0x1f1));var _0xba31=function(_0x185ed2,_0xb1564a){_0x185ed2=_0x185ed2-0x0;var _0x11d850=_0xa31b[_0x185ed2];return _0x11d850;};'use strict';var _=require(_0xba31('0x0'));var util=require('util');var logger=require(_0xba31('0x1'))(_0xba31('0x2'));var moment=require(_0xba31('0x3'));var BPromise=require(_0xba31('0x4'));var rp=require(_0xba31('0x5'));var fs=require('fs');var path=require(_0xba31('0x6'));var rimraf=require(_0xba31('0x7'));var config=require(_0xba31('0x8'));var attributes=require(_0xba31('0x9'));module[_0xba31('0xa')]=function(_0x52f14f,_0x944ddd){return _0x52f14f['define']('Migration',attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};