Skip to content
Permalink
Browse files

Merge pull request #1378 from expkzb/master

Fix auto migration failed issue when using `setupCoreDataStackWithAutoMigratingSqliteStoreNamed` method
  • Loading branch information
Coeur committed Dec 21, 2019
2 parents 257b476 + 52cdab7 commit 6031f608b79c1d6802007aaed6efd100e11f59ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 MagicalRecord/Categories/NSPersistentStoreCoordinator+MagicalRecord.m
@@ -256,7 +256,7 @@ - (NSPersistentStore *) MR_addAutoMigratingSqliteStoreNamed:(NSString *) storeFi
{
NSMutableDictionary *sqliteOptions = [NSMutableDictionary dictionaryWithDictionary:[[self class] MR_autoMigrationOptions]];
[sqliteOptions addEntriesFromDictionary:options];
return [self MR_addSqliteStoreNamed:storeFileName withOptions:options];
return [self MR_addSqliteStoreNamed:storeFileName withOptions:sqliteOptions];
}

- (NSPersistentStore *) MR_addAutoMigratingSqliteStoreAtURL:(NSURL *)storeURL

0 comments on commit 6031f60

Please sign in to comment.
You can’t perform that action at this time.