<commit_before>/**
* Permissions.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs        :: http://sailsjs.org/#!documentation/models
*/

module.exports = {

  attributes: {
    id:
    {
      type: "integer",
      primaryKey: true,
      unique: true,
      autoIncrement: true,
      required: true
    }, 
    role_id:
    {
      type: "integer",
      required: true
    }, 
    model:
    {
      type: "string",
      lowercase: true,
      required: true
    },
    self:
    {
      type: "boolean",
      defaultsTo: false
    },
    other:
    {
      type: "boolean",
      defaultsTo: false
    }
  }
};<commit_msg>Change permissions model to not require id<commit_after>/**
* Permissions.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs        :: http://sailsjs.org/#!documentation/models
*/

module.exports = {

  attributes: {
    id:
    {
      type: "integer",
      primaryKey: true,
      unique: true,
      autoIncrement: true,
    }, 
    role_id:
    {
      type: "integer",
      required: true
    }, 
    model:
    {
      type: "string",
      lowercase: true,
      required: true
    },
    self:
    {
      type: "boolean",
      defaultsTo: false
    },
    other:
    {
      type: "boolean",
      defaultsTo: false
    }
  }
};
{'fraction_non_alphanumeric': 0.12517680339462517, 'fraction_numerical': 0.0, 'mean_word_length': 1.870182555780933, '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': '5184083', 'n_tokens_mistral': 450, 'n_tokens_neox': 441, 'n_words': 118}