I have a flutter app that stores the data with objectbox but I need to change a class that has
// old:
int year;
// new:
double year;
ObjectBox does not support migrating existing property data to a new type. You will have to take care of this yourself, e.g. by keeping the old property and adding some migration logic.
On the objectbox page they say it's possible through migration logic. Data is already stored with int and I need to migrate this data to double but I have not succeeded. Could someone help me with an example. Thanks