SwiftData Data Deleting Unwantedly

Hi,

I have two SwiftData models that are not working as intended. I'm able to add data to the models, but sometimes after refreshing the app data is missing. Any guidance would be greatly appreciated.

Hi,

I'm just following up to see if anyone has any thoughts on this.

SwiftData Data Deleting Unwantedly
 
 
Q