objectbox-models/default.json(Java, Kotlin) or
lib/objectbox-model.json(Dart) which you should add to your version control system (e.g. git). If you are interested, we have in-depth documentation on UIDs and concepts. But let’s continue with how to rename entities or properties.
@Uidannotation (Java, Kotlin) or
@Entity(uid: 0)/@Property(uid: 0)(Dart) on the entity or property and build the project to get further instructions. Repeat for each entity or property to change.
pub run build_runner build). The build will fail with an error message that gives you the current UID of the entity/property:
@Uidannotation to the property where you want to change the type: