Post

Replies

Boosts

Views

Activity

Reply to How does SwiftData schema migration work and what are the possible schema changing operations
This information would be helpful to me as well. I've noticed that I can add e.g. a string property with a default value to a SwiftData Model and successfully migrate if I'm not providing an explicit SchemaMigrationPlan. But when providing a SchemaMigrationPlan, the migration fails, whether using a .lightweight or .custom migration.
Oct ’23