old_contents: module.exports = (sequelize, DataTypes) => {
    const Group = sequelize.define('Group', {
      name: {
        type: DataTypes.STRING,
        unique: true,
        allowNull: false,
      },
      description: {
        type: DataTypes.STRING,
        allowNull: false,
      }
    });
    Group.associate = (models) => {
      Group.hasMany(models.Message, {
        foreignKey: 'GroupId',
        as: 'groupMesages',
      });
      Group.belongsToMany(models.User, {
        // as: 'Groups',
        foreignKey: 'groupId',
        through: 'UserGroups',
      });
    };
    return Group;
  };
  
new_contents: module.exports = (sequelize, DataTypes) => {
    const Group = sequelize.define('Group', {
      name: {
        type: DataTypes.STRING,
        unique: true,
        allowNull: false,
      },
      description: {
        type: DataTypes.STRING,
        allowNull: false,
      }
    });
    Group.associate = (models) => {
      Group.hasMany(models.Message, {
        foreignKey: 'groupId',
        // as: 'groupMesages',
      });
      Group.belongsToMany(models.User, {
        // as: 'Groups',
        foreignKey: 'groupId',
        through: 'UserGroups',
      });
    };
    return Group;
  };
  
subject: Edit commit messages