---
title: Schema.Relationship.DeleteRule.noAction
framework: swiftdata
role: symbol
role_heading: Case
path: swiftdata/schema/relationship/deleterule-swift.enum/noaction
---

# Schema.Relationship.DeleteRule.noAction

A rule that doesn’t make changes to any related models.

## Declaration

```swift
case noAction
```

## Discussion

Discussion Ensure that you take the appropriate action on any related models when using this delete rule, such as deleting them or nullifying their references to the deleted model. Otherwise, your data will be in an inconsistent state and may reference models that don’t exist.

## See Also

### Accessing delete rules

- [Schema.Relationship.DeleteRule.cascade](swiftdata/schema/relationship/deleterule-swift.enum/cascade.md)
- [Schema.Relationship.DeleteRule.deny](swiftdata/schema/relationship/deleterule-swift.enum/deny.md)
- [Schema.Relationship.DeleteRule.nullify](swiftdata/schema/relationship/deleterule-swift.enum/nullify.md)
