diff --git a/data/summary/types/summary.go b/data/summary/types/summary.go index 12441851b..b1b40c569 100644 --- a/data/summary/types/summary.go +++ b/data/summary/types/summary.go @@ -183,6 +183,10 @@ func (s *Summary[T, A]) SetOutdated(reason string) { set.Append(s.Dates.OutdatedReason...) } + if reason == OutdatedReasonSchemaMigration { + *s = *Create[T, A](s.UserID) + } + s.Dates.OutdatedReason = set.ToSlice() timestamp := time.Now().Truncate(time.Millisecond).UTC()