Built motion from commit f7863d46.|2.5.41
[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 _0x32f7=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./migration.attributes','define','Migration'];(function(_0x55ebfa,_0x4213be){var _0x49a360=function(_0x147480){while(--_0x147480){_0x55ebfa['push'](_0x55ebfa['shift']());}};_0x49a360(++_0x4213be);}(_0x32f7,0x12b));var _0x732f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x32f7[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x732f('0x0'));var util=require(_0x732f('0x1'));var logger=require(_0x732f('0x2'))(_0x732f('0x3'));var moment=require(_0x732f('0x4'));var BPromise=require(_0x732f('0x5'));var rp=require(_0x732f('0x6'));var fs=require('fs');var path=require(_0x732f('0x7'));var rimraf=require(_0x732f('0x8'));var config=require(_0x732f('0x9'));var attributes=require(_0x732f('0xa'));module['exports']=function(_0xd7b605,_0xad2967){return _0xd7b605[_0x732f('0xb')](_0x732f('0xc'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};