import { DataTypes } from 'sequelize';
import sequelize from '../database.js';

const Season = sequelize.define('Season', {
    id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
        allowNull: false,
    },
    season: {
        type: DataTypes.STRING,
        allowNull: false,
        unique: true,
    },
}, {
    underscored: true,
    tableName: 'season',
    timestamps: true,
});

export default Season;
