diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-21 18:10:19 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-21 18:10:19 +0200 |
| commit | 83881b389b96931bd504965479ff05aeabcd7ff2 (patch) | |
| tree | c7fd4cc04ea2d360a37b78f300d424ee01d1fea3 /assets | |
| parent | 81c7d1a34c6b1505f0a75b39c2232f92b1ca4512 (diff) | |
| download | meshbay-83881b389b96931bd504965479ff05aeabcd7ff2.tar.gz | |
fix: delete notifications and detach content_reports before deleting a group
The DELETE /v1/groups/{id} endpoint only deleted group_members before
removing the group row, causing a FK violation (500) when notifications
or content_reports referenced the group. Delete notifications outright
and nullify group_id on content_reports to preserve moderation history.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions