Please note migrations are only supported for local realms and flexible sync does not support migration. The local realm migrations in flutter is a new feature that will be released this week.
For changes to the schema for sync, there can be breaking or non-breaking changes. Please refer to the update Schema section in the documentation for the same.
I hope the provided information is helpful.
Please don’t hesitate to ask if you need further assistance.
If you change your data models often and receive a migration exception be sure to delete the old default.realm file in your application directory. It will get recreated with the new schema the next time the Realm is opened.
I need to delete the local realm files, there is no migration option in the flutter beta yet.