NSMigratePersistentStoresAutomaticallyOption
Key to automatically attempt to migrate versioned stores.
Declaration
let NSMigratePersistentStoresAutomaticallyOption: StringMentioned in
Discussion
The corresponding value is an NSNumber object. If the boolValue of the number is true and if the version hash information for the added store is determined to be incompatible with the model for the coordinator, Core Data will attempt to locate the source and mapping models in the application bundles, and perform a migration.