Migration Options

Specify migration options in the dictionary of options when you add a persistent store using addPersistentStoreWithType:configuration:URL:options:error:.

Topics

Constants

NSIgnorePersistentStoreVersioningOption

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

NSMigratePersistentStoresAutomaticallyOption

Key to automatically attempt to migrate versioned stores.

NSInferMappingModelAutomaticallyOption

Key to attempt to create the mapping model automatically.

See Also

Migrating and Versioning Stores

Versioning Support

Metadata keys you access when comparing store versions.