I have a Gift table in my schema. Now I need to rename Gift.class to UserBonus.class and add some new parameters (and not a problem). What is the right way to do this?
I know that realm.getTable() can return a table to me, the problem is that the old Gift exists in the scheme, but in fact I do not have Gift.class (now it is UserBonus and getTable() will return me the new created table), therefore, I cannot get the old values โโof the gift table and move them to the new bonus table.
The only way I see this is to leave empty Gift.class and use it only for transferring.
Thanks for any advice
Yakiv
source share