let config = Realm.Configuration( // Set the new schema version. This must be greater than the previously used // version (if you\'ve never set a
Are you sure that you updated your schemaVersion properly? If you set schemaVersion: 1 before you made changes, you need to change it to 2 in order for the migration to trigger.
schemaVersion: 1
2
Delete app from iPhone and install again. works good.