Core Data migration fails for to-one relationship

后端 未结 1 1454
猫巷女王i
猫巷女王i 2020-12-21 16:45

I have the following model:

\"Model

parent is a to-one relationship (optional,

1条回答
  •  执念已碎
    2020-12-21 17:12

    Why do you need a mapping model? You should avoid these complexities and simply use Lightweight Migration as explained in Apple's Lightweight Migration Documentation.

    0 讨论(0)
提交回复
热议问题