ConfigurationCollection
A named folder that groups ConfigurationResource records for one organisation.
Purpose
Section titled “Purpose”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 collectionapp/Http/Controllers/Configuration/ConfigurationCollectionUpdateController.php— renames and reordersapp/Services/ConfigurationEstateService.php— assembles collections with their resources
Relationships
Section titled “Relationships”| Relation | Type | Related model |
|---|---|---|
organization |
belongsTo |
Organization |
configurationResources |
hasMany |
ConfigurationResource |
Data shape
Section titled “Data shape”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 |