Core Data migration then run old app version

I'm sorta baffled right now. I am trying to wonder how I might detect a updated SQL Store in an older app.

  • have a baseline app, and create a SQL-based repository

  • in an updated app, change the model and verify that you can see the updated model version. Using lightweight migration

  • re-run the older app (which will inherit the newer SQL repository).

YIKES - no error when creating the NSPersistenStoreCoordinator!

Nothing in the metadata to imply the store is newer than the model:

[_persistentStoreCoordinator metadataForPersistentStore:store]

My question: is there any way to detect this condition?

David

Core Data migration then run old app version
 
 
Q