vendredi 18 septembre 2015

Rename Realm table

I have a Gift table in my realm scheme. Now I need to rename Gift.class to UserBonus.class and add some new params(not a prob). What is the correct way to do this?

I know that realm.getTable() can return me the table, the problem is that old Giftexists in the schema but on fact I dont have Gift.class(now it is UserBonus and getTable() will return me new created table) so I cant get old gift table values and move them to new Bonus table.

Thanks for any advice,
Yakiv



from Newest questions tagged java - Stack Overflow http://ift.tt/1F62SDm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire