Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14211

Add documentation for how to handle destructive changes in Realm

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Realm
    • 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.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mansoor.omar@mongodb.com Mansoor Omar
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              39 weeks, 2 days ago