table: directus_permissions

columns:
  id:
    increments: true
  role:
    type: uuid
    references:
      table: directus_roles
      column: id
  collection:
    type: string
    length: 'MAX_TABLE_NAME_LENGTH'
    nullable: false
    references:
      table: directus_collections
      column: collection
  action:
    type: string
    length: 10
    nullable: false
  permissions:
    type: json
  validation:
    type: json
  presets:
    type: json
  fields:
    type: text
  limit:
    type: integer
    unsigned: true
