Browse Source

refs(releases): Add comment to note that `Release.new_groups` is deprecated (#33896)

This field is no longer used and hasn't been written to for years. Might separate also just remove
it, but at least noting that for now.
Dan Fuller 2 years ago
parent
commit
fc49353cad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/models/release.py

+ 1 - 1
src/sentry/models/release.py

@@ -451,7 +451,7 @@ class Release(Model):
     date_released = models.DateTimeField(null=True, blank=True)
     # arbitrary data recorded with the release
     data = JSONField(default={})
-    # new issues (groups) that arise as a consequence of this release
+    # Deprecated, we no longer write to this field
     new_groups = BoundedPositiveIntegerField(default=0)
     # generally the release manager, or the person initiating the process
     owner = FlexibleForeignKey("sentry.User", null=True, blank=True, on_delete=models.SET_NULL)