【发布时间】:2012-09-20 00:52:17
【问题描述】:
我使用 Core Data 和 MagicalRecord 作为应用程序的数据库。
向数据库添加新模型时,如何在不卸载应用程序的情况下迁移数据库?
【问题讨论】:
-
您的意思是在更新模型后如何迁移商店?
-
是的。我怎么能做到这一点?谢谢。
标签: ios ios5 core-data-migration magicalrecord
我使用 Core Data 和 MagicalRecord 作为应用程序的数据库。
向数据库添加新模型时,如何在不卸载应用程序的情况下迁移数据库?
【问题讨论】:
标签: ios ios5 core-data-migration magicalrecord
看看这个How to migrate core data by deleting old one on App Update
既然你已经完成了Magical Record的预配置,其他的一切都将被照顾,干杯!
【讨论】: