Global Variable


Key to automatically attempt to migrate versioned stores.


NSString *const NSMigratePersistentStoresAutomaticallyOption;


The corresponding value is an NSNumber object. If the boolValue of the number is YES 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.