ALTER TABLE kandangs
    ADD COLUMN status VARCHAR(20);

UPDATE kandangs
SET status = 'NON_ACTIVE'  
WHERE status IS NULL;

ALTER TABLE kandangs
    ALTER COLUMN status SET NOT NULL;