<commit_before>// Membership.js
//
// @description :: A memberships makes the link between
//                 a User and a Group
// @docs        :: http://sailsjs.org/#!documentation/models

module.exports = {

  schema: true,

  attributes: {

    // Is the User an admin of this Group?
    // e.g true
    isAdmin: {
      type: 'boolean',
      defaultsTo: false
    },

    // The User in the Group
    // It's a reference to a User
    user: {
      model: 'user',
      required: true
    },

    // The Groups in which the User participates
    // References to Group objects
    group: {
      model: 'group',
      required: true
    }

  }
};
<commit_msg>fix(membershipmodel): change a comment<commit_after>// Membership.js
//
// @description :: A memberships makes the link between
//                 a User and a Group
// @docs        :: http://sailsjs.org/#!documentation/models

module.exports = {

  schema: true,

  attributes: {

    // Is the User an admin of this Group?
    // e.g true
    isAdmin: {
      type: 'boolean',
      defaultsTo: false
    },

    // The User in the Group
    // It's a reference to a User
    user: {
      model: 'user',
      required: true
    },

    // The Group in which the User participates
    // References to Group objects
    group: {
      model: 'group',
      required: true
    }

  }
};

{'fraction_non_alphanumeric': 0.1189069423929099, 'fraction_numerical': 0.0, 'mean_word_length': 1.7995867768595042, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6925259', 'n_tokens_mistral': 416, 'n_tokens_neox': 394, 'n_words': 137}