modcomms/backend
michael 94a37f3ed8 Add migration to cleanup duplicate dropdown options
The staging database has duplicate sub-channels (5 "Meta", 2 "Magazine")
which causes the last duplicate (with 0 proof types) to overwrite the
correct one in the API response.

This migration:
1. Identifies duplicate sub-channels and channels
2. Keeps the one with the most children (proof types)
3. Deletes the duplicates
4. Adds unique partial indexes to prevent future duplicates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 13:22:44 -06:00
..
alembic Add migration to cleanup duplicate dropdown options 2026-01-23 13:22:44 -06:00
app Add debugging for proof types not showing in dropdown 2026-01-23 13:09:25 -06:00
.env.example permissions changes 2025-12-18 16:51:27 +00:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile permissions changes 2025-12-18 16:51:27 +00:00
requirements.txt permissions changes 2025-12-18 16:51:27 +00:00