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

const Club = sequelize.define('Club', {
  name: {
    type: DataTypes.STRING,
    allowNull: false,
    unique: true,
  },
}, {
  tableName: 'clubs',
  underscored: true,
  timestamps: true
});

export default Club;
