AC
https://developer.apple.com/documentation/coredata/using_lightweight_migration
Managing Changes to Entities and Properties
If you rename an entity or property, you can set the renaming identifier in the destination model to the name of the corresponding property or entity in the source model. Use the Xcode Data Modeling tool’s property inspector (for either an entity or a property) to set the renaming identifier in the managed object model. For example, you can:
Rename a Car entity to Automobile
Rename a Car’s color attribute to paintColor
The renaming identifier creates a canonical name, so set the renaming identifier to the name of the property in the source model (unless that property already has a renaming identifier). This means you can rename a property in version 2 of a model, then rename it again in version 3. The renaming will work correctly going from version 2 to version 3, or from version 1 to version 3.
допустим был атрибут color я переименовал его в paintColor
как мне замутить, чтобы при обновлении приложения все корректно обновилось?
создать новую версию модели? и там в Renaming ID указать color?
или в той же самой модели просто переименовать атрибут и в Renaming ID указать color?
или как🤔