MOPC-App/prisma/migrations/20260205220000_add_suggesti...
Matt 3abfccb22a
Build and Push Docker Image / build (push) Successful in 9m26s Details
Fix AI suggestions not displaying after job completion
BREAKING CHANGE: AI assignment job now stores suggestions in database

- Add suggestionsJson column to AssignmentJob table
- Store enriched suggestions when job completes
- Update getAISuggestions to retrieve stored suggestions instead of regenerating
- Filter out already-assigned pairs from stored suggestions

Previously, the background job generated suggestions but discarded them,
and getAISuggestions tried to regenerate from scratch (causing infinite loading).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 14:38:43 +01:00
..
migration.sql Fix AI suggestions not displaying after job completion 2026-02-05 14:38:43 +01:00