Skip to content

Commit

Permalink
Make is_all_projects non-nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSun48 committed Jan 10, 2025
1 parent 0b4479b commit 250c705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 5.1.4 on 2025-01-10 23:30
# Generated by Django 5.1.4 on 2025-01-10 23:44

import django.db.models.deletion
import django.utils.timezone
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/models/groupsearchview.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class GroupSearchView(DefaultFieldsModelExisting):
projects = models.ManyToManyField(
"sentry.Project", through=GroupSearchViewProject
) # Implicit null=True
is_all_projects = models.BooleanField(default=False)
is_all_projects = models.BooleanField(null=False, default=False)

environments = models.ManyToManyField(
"sentry.Environment", through=GroupSearchViewEnvironment
Expand Down

0 comments on commit 250c705

Please sign in to comment.