Browse files

Cleanup code is now debug-only

  • Loading branch information...
1 parent d8394cf commit 45d764a58d4b11c0cbdeb10fa442a18680e492ff @blackgold9 blackgold9 committed Aug 20, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 MagicalRecord/Core/MagicalRecord.m
View
4 MagicalRecord/Core/MagicalRecord.m
@@ -91,7 +91,11 @@ + (void) initialize;
#endif
[self setShouldAutoCreateManagedObjectModel:YES];
[self setShouldAutoCreateDefaultPersistentStoreCoordinator:NO];
+#ifdef DEBUG
[self setShouldDeleteStoreOnModelMismatch:YES];
+#else
+ [self setShouldDeleteStoreOnModelMismatch:NO];
+#endif
}
}

0 comments on commit 45d764a

Please sign in to comment.