---
title: configurations
framework: swiftdata
role: symbol
role_heading: Instance Property
path: swiftdata/modelcontainer/configurations
---

# configurations

The configurations that describe how to manage the persisted data for specific groups of models.

## Declaration

```swift
var configurations: Set<ModelConfiguration> { get set }
```

## Discussion

Discussion Use this property to access or update the configurations that the container uses to manage model data. The default value is the set of configurations you specified when calling one of the container’s initializers. important: A container must have at least one configuration. If you don’t specify any at initialization, the framework creates an instance of ModelConfiguration for you by combining your app’s entitlements with the type’s default values.

## See Also

### Managing schema and configuration details

- [schema](swiftdata/modelcontainer/schema.md)
- [migrationPlan](swiftdata/modelcontainer/migrationplan.md)
