migration

fun migration(migration: RealmMigration): RealmConfiguration.Builder

Sets the migration to handle schema updates.

See also

Parameters

migration

the RealmMigration instance to handle schema and data migration in the event of a schema update.