ScanType.MANUAL was the label for the removed 'New Scan' stub button
(commit 8a82158). Nothing has written MANUAL since then. Cleanup:
- python ScanType enum: MANUAL removed
- frontend types: scan_type union narrowed to 'wazuh' | 'nessus'
plus legacy 'full' | 'syscollector' for old history rows that
predate migration 020
- migration 021: DELETE FROM scans WHERE scan_type='MANUAL' so the
one leftover PENDING row tester reported is gone
Postgres enum value 'MANUAL' stays in scantype — DROP VALUE is not
supported cleanly and unused values are harmless.
Deploy:
alembic upgrade head # 020 → 021