diff --git a/src/sentry/migrations/0545_remove_groupsubscription_columns.py b/src/sentry/migrations/0545_remove_groupsubscription_columns.py index 714ab57926f2e5..8f399c0dce15ee 100644 --- a/src/sentry/migrations/0545_remove_groupsubscription_columns.py +++ b/src/sentry/migrations/0545_remove_groupsubscription_columns.py @@ -33,6 +33,12 @@ class Migration(CheckedMigration): model_name="groupsubscription", name="subscription_team_or_user_check", ), + migrations.AlterUniqueTogether( + name="groupsubscription", + unique_together={ + ("group", "user_id"), + }, + ), ], database_operations=[ migrations.RunSQL(