Details
-
Task
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
3
Description
Description
We only have this documented in Realm.io and even then it's quite hidden:
https://docs.realm.io/sync/using-synced-realms/syncing-data#destructive-changes
I believe this topic should be covered in docs.mongodb and include how to update schema with destructive changes. For e.g. a customer might update their client code changing the data type of an existing field which is already in the Realm schema. Development mode will not update this for them and they'll need to take extra steps such as deleting the field from the current schema, terminating sync, and running app etc.
It would be good to add such documentation under Realm Sync and cover the subject thoroughly with multiple options on how to perform destructive changes.