I have used Realm in my android so far with new RealmConfiguration.Builder(this) .build();
I just read later about the possibility of adding a schema and migration. Therefore, in my new version for my application, I want to add a transfer function. so I changed the line above:
new RealmConfiguration.Builder(this) .schemaVersion(0) .migration(new Migration()) .build();
but now i get an error
IllegalArgumentException: Configurations cannot be different if used to open the same file.
How can I change the configuration without deleting the database
source share