-- Allow council agent assignments to record SQL-level state transitions
ALTER TABLE council_agents
    DROP CONSTRAINT IF EXISTS council_agents_status_check;

ALTER TABLE council_agents
    ADD CONSTRAINT council_agents_status_check
    CHECK (status IN ('pending', 'deploying', 'assigned', 'active', 'failed', 'removed'));
