Compare commits

..

2 Commits

Author SHA1 Message Date
3ed60d9cfa Merge pull request 'users get notified whenever a task is done completely, not per step' (#78) from improvement/despam-notifications into master
Some checks failed
Registry — build, push, deploy / build-and-push (push) Successful in 39s
Registry — build, push, deploy / deploy (push) Failing after 36s
Reviewed-on: #78
Reviewed-by: admin <admin@localhost>
2026-09-08 12:03:08 +03:30
e4f1759035 fix: use mapped table name in case_completed migration
All checks were successful
Production — tag build, push, deploy / build-and-push (push) Successful in 28m21s
Production — tag build, push, deploy / deploy (push) Successful in 12m29s
Prisma migrate failed on prod (P3009) because DELETE targeted
"UserNotification" instead of user_notifications.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 10:42:22 +03:30

View File

@@ -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';