match_history_compensation.ts 1.3 KB
/* jshint indent: 2 */

module.exports = function (sequelize:any, DataTypes:any) {
    return sequelize.define('match_history_compensation', {
        id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true
        },
        history: {
            type: DataTypes.JSON,
            allowNull: true
        },
        recent: {
            type: DataTypes.JSON,
            allowNull: true
        },
        competitions: {
            type: DataTypes.JSON,
            allowNull: true
        },
        teams: {
            type: DataTypes.JSON,
            allowNull: true
        },
        companies: {
            type: DataTypes.JSON,
            allowNull: true
        },
        analysis: {
            type: DataTypes.JSON,
            allowNull: true
        },
        europe: {
            type: DataTypes.JSON,
            allowNull: true
        },
        timestamp: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        created_at: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        updated_at: {
            type: DataTypes.STRING(20),
            allowNull: true
        }
    }, {
        tableName: 'match_history_compensation'
    });
};