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

# migrationPlan

The plan that describes the evolution of your app’s schema and how to migrate between specific versions.

## Declaration

```swift
final let migrationPlan: (any SchemaMigrationPlan.Type)?
```

## Discussion

Discussion This property provides a reference to the migration plan you specified when calling one the container’s initializers. If you didn’t specify one, the property’s value is nil.

## See Also

### Managing schema and configuration details

- [schema](swiftdata/modelcontainer/schema.md)
- [configurations](swiftdata/modelcontainer/configurations.md)
