Posts

Post not yet marked as solved
0 Replies
452 Views
Hello, the way I understand the schema migrations in conjunction with the originalName modifier, is that I will always need this property rapper for future migrations of my app. Is that correct? @Attribute(originalName: "start_date") var startDate: Date @Attribute(originalName: "end_date") var endDate: Date Let's say I do a V4 migration and do another change (irrelevant in this context; can be anything). Do startDate and endDate each need @Attribute(originalName: <#String>) or has SwiftData already renamed those attributes in the store and therefore I wouldn't need this anymore? Thank you! Denis
Posted
by DenisGo.
Last updated
.