Skip to content

Commit

Permalink
Cleanup code is now debug-only
Browse files Browse the repository at this point in the history
  • Loading branch information
blackgold9 committed Aug 20, 2012
1 parent d8394cf commit 45d764a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MagicalRecord/Core/MagicalRecord.m
Expand Up @@ -91,7 +91,11 @@ + (void) initialize;
#endif
[self setShouldAutoCreateManagedObjectModel:YES];
[self setShouldAutoCreateDefaultPersistentStoreCoordinator:NO];
#ifdef DEBUG
[self setShouldDeleteStoreOnModelMismatch:YES];
#else
[self setShouldDeleteStoreOnModelMismatch:NO];
#endif
}
}

Expand Down

0 comments on commit 45d764a

Please sign in to comment.