---
title: "MigrationStage.lightweight(fromVersion:toVersion:)"
framework: swiftdata
role: symbol
role_heading: Case
path: "swiftdata/migrationstage/lightweight(fromversion:toversion:)"
---

# MigrationStage.lightweight(fromVersion:toVersion:)

## Declaration

```swift
case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
```

## See Also

### Migration stages

- [MigrationStage.custom(fromVersion:toVersion:willMigrate:didMigrate:)](swiftdata/migrationstage/custom(fromversion:toversion:willmigrate:didmigrate:).md)
