diff --git a/backend/prisma/migrations/20260907200000_case_completed_notifications/migration.sql b/backend/prisma/migrations/20260907200000_case_completed_notifications/migration.sql index 647af28..c2e895d 100644 --- a/backend/prisma/migrations/20260907200000_case_completed_notifications/migration.sql +++ b/backend/prisma/migrations/20260907200000_case_completed_notifications/migration.sql @@ -5,4 +5,4 @@ ALTER TYPE "LabCaseActivityType" ADD VALUE 'CASE_COMPLETED'; ALTER TYPE "UserNotificationType" ADD VALUE 'CASE_COMPLETED'; -- Step-level TASK_COMPLETED inbox rows were spam; case-complete uses CASE_COMPLETED going forward. -DELETE FROM "UserNotification" WHERE type = 'TASK_COMPLETED'; +DELETE FROM "user_notifications" WHERE type = 'TASK_COMPLETED';