Hi,
I am looking to migrate a CoreData app which uses CloudKit to SwiftData and have two (for now) migration questions.
(1) Many of the attributes have the Optional checkbox checked in the xcdatamodeld file. The corresponding SwiftData properties are marked as Optional (?) but are never not initialized to an actual value. Can I remove the ? from those property types or am I required to do this as a migration?
(1a) If I'm required to do this as a migration, is this a custom migration or can I do it as a light migration.
(2) I have several Int16 in the Core Data model which I'd like to make Ints in the SwiftData model. Is this a migration? Is it a custom one or can the migration make the conversion.
Thank you,
Daniel