Is there a way to rollback a migration? We had a bug in our code that left us in an unrecoverable state.
Here's what happened:
-- Added an additional field to the schema
-- Upped the schema version, but put the newObject["newField"] in the wrong place (put it as part of the previous version's migration -- ugh I know)
-- Now, when we run the app, it crashes with "Migration is required. Property 'newField' has been added to the latest object model"
We tried to run another empty migration by just upping the schema number, but the code crashes even before the [RLMRealm setSchemaVersion] call.
Any ideas?
Thanks!
You received this message because you are subscribed to the Google Groups "Realm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
.
.
.