I'm updating one of my applications that uses Core Data for the data management. In this current version, I implemented Magic Record and also updated the data model. The data model will not be able to use automatic migration so I need to implement manual migration. I am confused as to how to do this with Magic Record.
I looked into the source code for Magic Record and from the looks of it, there are no implementations of supporting a migration manager when trying to create a persistent store coordinator.
When the DEBUG
flag is set to true, the application deletes the incompatible version and creates a new database with the current version. However, this does not migrate all the data. From the docs, it looks like this feature is implemented so that we don't have to constantly delete older versions by removing the app and reinstalling, so that makes sense.
So does Magic Record support migration managers? I have thought about adding it to the source code, but I don't want to modify the library.