Skip to content
Permalink
Browse files

fix auto migaration failed

  • Loading branch information
Zhoubin
Zhoubin committed Dec 18, 2019
1 parent 257b476 commit 52cdab7cb82305f7d3f0bb67c0f29b5c82b2245e
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 52cdab7

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