Skip to content
Snippets Groups Projects
Commit 82bc5949 authored by George Nachman's avatar George Nachman
Browse files

Migrate persistent stores automatically. Should fix a bug that caused shell...

Migrate persistent stores automatically. Should fix a bug that caused shell history to get deleted due to the addition of an index and a changed versionHashModifier
parent a395d555
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -198,7 +198,8 @@ static const NSTimeInterval kMaxTimeToRememberDirectories = 60 * 60 * 24 * 90;
storeType = NSInMemoryStoreType;
}
 
NSDictionary *options = @{};
NSDictionary *options = @{ NSInferMappingModelAutomaticallyOption: @YES,
NSMigratePersistentStoresAutomaticallyOption: @YES };
if (vacuum) {
options = @{ NSSQLiteManualVacuumOption: @YES };
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment