Honor the schema version set in the configuration in +[RLMRealm migrateRealm:]

15 views
Skip to first unread message

Zsombor Papp

unread,
Jan 20, 2016, 7:26:48 PM1/20/16
to Realm
I found this in the change log, under "0.96.1 Release notes":

Honor the schema version set in the configuration in +[RLMRealm migrateRealm:]

Does this basically mean that migrateRealm does not work before 0.96.1?

Thanks,
Zsombor

Thomas Goyne

unread,
Jan 20, 2016, 7:33:05 PM1/20/16
to Zsombor Papp, realm...@googlegroups.com
Yes, prior to that it incorrectly worked like migrateRealmAtPath: and used the globally-registered schema version for the Realm path rather than the schema version set in the configuration object passed to it.

--
Thomas Goyne

{#HS:163042089-2743#}
--
You received this message because you are subscribed to the Google Groups "Realm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to realm-cocoa...@googlegroups.com.
To post to this group, send email to realm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/realm-cocoa/f9d1df8c-ef96-4e70-891a-14047df64ee0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Zsombor Papp

unread,
Jan 20, 2016, 8:15:33 PM1/20/16
to Realm, zsombo...@gmail.com, he...@realm.io
Thanks Thomas!
Reply all
Reply to author
Forward
0 new messages