0

From what I've read, lightweight migration in Core Data can be done in any of the following circumstances:

  • Add an entity
  • Remove an entity
  • Rename an entity
  • Add an attribute / relationship
  • Remove an attribute / relationship
  • Rename an attribute / relationship
  • Make an attribute / relationship optional
  • Make an attribute / relationship not optional, but provide a default value!

But I don't see how making an entity no longer transient fits into that. Do I need to do an advanced migration? Do I need to migrate at all?

lead_the_zeppelin
  • 2,017
  • 13
  • 23

1 Answers1

2

Transient properties are basically ignored by the versioning system, so changing a transient property to an persistent attribute should be the same as adding an attribute which a lightweight migration will be sufficient for.

Answer inferred from the second part of this question.

Community
  • 1
  • 1
Kevin
  • 16,696
  • 7
  • 51
  • 68