objectbox-generator
on the changed .fbs
file without any further action needed from you.objectbox:uid
annotation to the entity/property you want to rename:objectbox-generator [-c|-cpp] schema.fbs
. The generation will fail with an error message that gives you the current UID of the entity/property:objectbox-model.json
file yourself and add it as a value of the uid
annotation when renaming your entity/property to achieve the same effect.go generate ./...
in your project directory. The generation will fail with an error message that gives you the current UID of the property: