-- A playback error is resolved by hiding or deleting the track, or by marking -- it fixed or ignored. Nothing re-requests a track any more, so 'requested' -- is no longer a resolution. ALTER TABLE playback_errors DROP CONSTRAINT playback_errors_resolution_check, ADD CONSTRAINT playback_errors_resolution_check CHECK (resolution IS NULL OR resolution IN ('hidden', 'deleted', 'fixed', 'ignored')); -- The enums the requests table used, left behind when it went. DROP TYPE request_kind; DROP TYPE request_status;