Scrum4Me/prisma
Madhura68 16ce4dd13d feat(ST-801): pg_notify triggers on tasks and stories
Add notify_task_change() and notify_story_change() PL/pgSQL functions
plus AFTER INSERT/UPDATE/DELETE triggers on tasks and stories. Each
write emits a JSONB payload on the 'scrum4me_changes' channel with
op, entity, id, product_id, sprint_id, assignee_id and (for UPDATE)
the list of changed columns. Tasks resolve product/sprint/assignee
via their parent story so the SSE handler can filter without an extra
DB roundtrip.

The migration is a side-effect-only change (no Prisma model/schema
diff) so the Prisma Client and TypeScript types are unaffected.

Verified locally with a node-pg LISTEN client: both task and story
mutations produce the expected payload within milliseconds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 01:27:20 +02:00
..
migrations feat(ST-801): pg_notify triggers on tasks and stories 2026-04-27 01:27:20 +02:00
seed-data feat(tooling): add db:insert-milestone for idempotent backlog inserts (#7) 2026-04-27 01:25:05 +02:00
neon.md fix: lint errors en warnings opgelost voor CI 2026-04-24 14:09:03 +02:00
schema.prisma Todo description, entity codes, REST API extensions and Claude Code hardening (ST-509/511/512/513) (#2) 2026-04-26 23:40:54 +02:00
seed.ts feat(ST-507): split code from title in backlog parser and seed Scrum4Me with codes 2026-04-26 20:36:45 +02:00