-- Extend nodes.status ENUM to include the two intermediate blocking states
-- added by the detection engine (task 15D).
--
-- blocked_suspect  : domestic probes failing + overseas OK for ≥ 2 cycles
-- blocked_confirmed: suspect held for ≥ 6 cycles → immediately taken off-directory
--
-- Note: MySQL ENUM modification rebuilds the table in-place for InnoDB;
-- on production, run during a low-traffic window.
ALTER TABLE nodes
  MODIFY COLUMN status
    ENUM('provisioning','probing','up','draining','down','destroyed',
         'blocked_suspect','blocked_confirmed')
    NOT NULL DEFAULT 'provisioning';
