database - iOS Core Data - Lightweight migration for changing relationship from non-optional to optional -
the documentation around core data lightweight migration doesn't mention whether or not marking relationship non-optional optional covered under lightweight migration.
is handled lightweight migration or have write custom migration it? on appreciated.
actually page covers exact case. included in list of changes can inferred is:
- a non-optional attribute becoming optional
so, if attempt lightweight migration change, should work.
Comments
Post a Comment