table: directus_relations

columns:
  id:
    increments: true
  many_collection:
    type: string
    length: 'MAX_TABLE_NAME_LENGTH'
    nullable: false
    references:
      table: directus_collections
      column: collection
  many_field:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
    nullable: false
  many_primary:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
    nullable: false
  one_collection:
    type: string
    length: 'MAX_TABLE_NAME_LENGTH'
    references:
      table: directus_collections
      column: collection
  one_field:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
  one_primary:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
  one_collection_field:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
  one_allowed_collections:
    type: text
  junction_field:
    type: string
    length: 'MAX_COLUMN_NAME_LENGTH'
