Built motion from commit 43538d75.|2.5.35
[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 _0x7e46=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./migration.attributes','define','migrations'];(function(_0x28dda5,_0x115002){var _0x935c9c=function(_0x50d76c){while(--_0x50d76c){_0x28dda5['push'](_0x28dda5['shift']());}};_0x935c9c(++_0x115002);}(_0x7e46,0xa8));var _0x67e4=function(_0x4dd2e6,_0x28a380){_0x4dd2e6=_0x4dd2e6-0x0;var _0x42eb58=_0x7e46[_0x4dd2e6];return _0x42eb58;};'use strict';var _=require(_0x67e4('0x0'));var util=require(_0x67e4('0x1'));var logger=require(_0x67e4('0x2'))(_0x67e4('0x3'));var moment=require(_0x67e4('0x4'));var BPromise=require(_0x67e4('0x5'));var rp=require(_0x67e4('0x6'));var fs=require('fs');var path=require(_0x67e4('0x7'));var rimraf=require('rimraf');var config=require(_0x67e4('0x8'));var attributes=require(_0x67e4('0x9'));module['exports']=function(_0x263deb,_0x4184fb){return _0x263deb[_0x67e4('0xa')]('Migration',attributes,{'tableName':_0x67e4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};