I have a published iOS app that is using a Realm database and I need to add a new class to the database and I need to preserve user data. Not sure how to proceed with the migration.
The Realm documents describe how to add a new variable with the migration code, but I am not sure how to add an entire class to the database.
I have also changed the main variable from var register:Results? To var register:List? And I am not sure if this needs to be migrated too.
I would appreciate any insights.
Thanks!
Blessings, —Mark