Files
vulncheck/alembic
vulncheck 5e18262213 chore(scans): drop ScanType.MANUAL — no writer remains after stub removal
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
2026-05-20 08:43:40 +02:00
..
2026-02-08 10:15:20 +01:00
2026-02-08 10:15:20 +01:00