Files
TradarrV2/backend/internal/database/migrations/000015_source_allowlist.down.sql
Blomios ac17d27f51 feat(sources): enforce supported source allowlist
Assign stable keys to the three supported sources, preserve excluded historical rows, and expose history read-only in admin. Add migration, coverage, and responsive browser spec.

Refs #13

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-21 00:11:26 +01:00

4 lines
189 B
SQL

-- Historical rows stay preserved and disabled; rollback must not reactivate
-- sources for which the previous enabled state is no longer known.
ALTER TABLE sources DROP COLUMN source_key;