sporttery_match_lineup.js 1.2 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('sporttery_match_lineup', {
        m_id: {
            type: DataTypes.STRING(50),
            allowNull: false,
            primaryKey: true
        },
        referee_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        suspension_info: {
            type: DataTypes.JSON,
            allowNull: true
        },
        a_lineups_info: {
            type: DataTypes.JSON,
            allowNull: true
        },
        h_lineups_info: {
            type: DataTypes.JSON,
            allowNull: true
        },
        injuries_info: {
            type: DataTypes.JSON,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        created_at: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        issue_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        match_number: {
            type: DataTypes.STRING(50),
            allowNull: true
        }
    }, {
        tableName: 'sporttery_match_lineup'
    });
};
//# sourceMappingURL=sporttery_match_lineup.js.map