<!--
{
  "documentType" : "article",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/migration-options",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Migration options"
}
-->

# Migration options

The options keys that configure the migration behavior of a persistent store.

## Topics

### Constants

[`NSIgnorePersistentStoreVersioningOption`](/documentation/CoreData/NSIgnorePersistentStoreVersioningOption)

Key to ignore the built-in versioning provided by Core Data.

[`NSMigratePersistentStoresAutomaticallyOption`](/documentation/CoreData/NSMigratePersistentStoresAutomaticallyOption)

Key to automatically attempt to migrate versioned stores.

[`NSInferMappingModelAutomaticallyOption`](/documentation/CoreData/NSInferMappingModelAutomaticallyOption)

Key to attempt to create the mapping model automatically.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)