When the Model Context is building, make sure CalData is in schema or Swift will not be able to find it
private var models: [any PersistentModel.Type] = [
CalData.self, CalDataVal.self,
]
lazy public var container: ModelContainer = {
let schema = Schema(models)
//...
}