Built motion from commit (unavailable).|2.4.17
[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 _0x1f15=['api','bluebird','../../config/environment','./migration.attributes','exports','define','Migration','lodash','util','../../config/logger'];(function(_0x24259d,_0x64a194){var _0x5a701=function(_0x204516){while(--_0x204516){_0x24259d['push'](_0x24259d['shift']());}};_0x5a701(++_0x64a194);}(_0x1f15,0x15b));var _0x51f1=function(_0x12d2be,_0x1076ef){_0x12d2be=_0x12d2be-0x0;var _0x526fcb=_0x1f15[_0x12d2be];return _0x526fcb;};'use strict';var _=require(_0x51f1('0x0'));var util=require(_0x51f1('0x1'));var logger=require(_0x51f1('0x2'))(_0x51f1('0x3'));var moment=require('moment');var BPromise=require(_0x51f1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x51f1('0x5'));var attributes=require(_0x51f1('0x6'));module[_0x51f1('0x7')]=function(_0x2edae1,_0x3180f5){return _0x2edae1[_0x51f1('0x8')](_0x51f1('0x9'),attributes,{'tableName':'migrations','paranoid':![],'indexes':[],'timestamps':!![]});};