Skip to content

ConfigurationCollection

A named folder that groups ConfigurationResource records for one organisation.

Organisations accumulate many configuration resources — filings, press, HR documents, competitor material. Collections give them an explicit, orderable grouping so the configuration estate can be browsed rather than searched. position controls display order; membership is optional, so a resource can sit outside any collection.

Created and renamed from the configuration screens, and read as part of the estate aggregate.

  • app/Http/Controllers/Configuration/ConfigurationCollectionStoreController.php — creates a collection
  • app/Http/Controllers/Configuration/ConfigurationCollectionUpdateController.php — renames and reorders
  • app/Services/ConfigurationEstateService.php — assembles collections with their resources
Relation Type Related model
organization belongsTo Organization
configurationResources hasMany ConfigurationResource

Table: configuration_collections

Column Type Notes
id uuid Primary key
organization_id uuid FK organizations, cascade delete
name string Collection name
description text Nullable
position integer Default 0, display order
created_at, updated_at timestamp Nullable