166449c3fd4823ad2c6761d9dc1a74a71ad28067
[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 _0xc79a=['Migration','migrations','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment','./migration.attributes','define'];(function(_0x5534fe,_0x43c22e){var _0x3d1dc2=function(_0x9df12){while(--_0x9df12){_0x5534fe['push'](_0x5534fe['shift']());}};_0x3d1dc2(++_0x43c22e);}(_0xc79a,0xc8));var _0xac79=function(_0x332684,_0x4c5b5b){_0x332684=_0x332684-0x0;var _0x42c520=_0xc79a[_0x332684];return _0x42c520;};'use strict';var _=require(_0xac79('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xac79('0x1'));var BPromise=require(_0xac79('0x2'));var rp=require(_0xac79('0x3'));var fs=require('fs');var path=require(_0xac79('0x4'));var rimraf=require(_0xac79('0x5'));var config=require(_0xac79('0x6'));var attributes=require(_0xac79('0x7'));module['exports']=function(_0xb4d5f4,_0x3706a4){return _0xb4d5f4[_0xac79('0x8')](_0xac79('0x9'),attributes,{'tableName':_0xac79('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};