8ae9ef0350c18472a80d07bb121d8971f0eafca7
[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 _0xd8f0=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./migration.attributes','define','Migration','migrations','lodash','../../config/logger'];(function(_0x4d65d1,_0x57c106){var _0x2e2c14=function(_0x23f9b0){while(--_0x23f9b0){_0x4d65d1['push'](_0x4d65d1['shift']());}};_0x2e2c14(++_0x57c106);}(_0xd8f0,0x129));var _0x0d8f=function(_0x4e3ffc,_0x570704){_0x4e3ffc=_0x4e3ffc-0x0;var _0x543119=_0xd8f0[_0x4e3ffc];return _0x543119;};'use strict';var _=require(_0x0d8f('0x0'));var util=require('util');var logger=require(_0x0d8f('0x1'))(_0x0d8f('0x2'));var moment=require(_0x0d8f('0x3'));var BPromise=require(_0x0d8f('0x4'));var rp=require(_0x0d8f('0x5'));var fs=require('fs');var path=require(_0x0d8f('0x6'));var rimraf=require(_0x0d8f('0x7'));var config=require(_0x0d8f('0x8'));var attributes=require(_0x0d8f('0x9'));module['exports']=function(_0x558258,_0x14fe42){return _0x558258[_0x0d8f('0xa')](_0x0d8f('0xb'),attributes,{'tableName':_0x0d8f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};