Built motion from commit (unavailable).|2.3.1
[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 _0xc0d7=['moment','bluebird','request-promise','./migration.attributes','exports','define','migrations','api'];(function(_0x65c0bb,_0x82e7b8){var _0x320bd5=function(_0x6e1675){while(--_0x6e1675){_0x65c0bb['push'](_0x65c0bb['shift']());}};_0x320bd5(++_0x82e7b8);}(_0xc0d7,0x7f));var _0x7c0d=function(_0x3d3546,_0x1687d4){_0x3d3546=_0x3d3546-0x0;var _0x44fe75=_0xc0d7[_0x3d3546];return _0x44fe75;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x7c0d('0x0'));var moment=require(_0x7c0d('0x1'));var BPromise=require(_0x7c0d('0x2'));var rp=require(_0x7c0d('0x3'));var attributes=require(_0x7c0d('0x4'));module[_0x7c0d('0x5')]=function(_0xfbd3c8,_0x276b49){return _0xfbd3c8[_0x7c0d('0x6')]('Migration',attributes,{'tableName':_0x7c0d('0x7'),'paranoid':![],'indexes':[],'timestamps':![]});};