📄️ Changing the Schema
Adding a new field
📄️ Bypassing the Migration
Simplest way to bypass the Migration
📄️ Migrating the Realm Schema
If we want to do a simple migration, we just need to increment the version number of the schema. This way, Realm will perform an automatic migration (if possible) and we won't lose any data. So each time we alter our schema we'll need to also increment the schema's version number.