ALTER TABLE media_storages
    ADD COLUMN status ENUM('active','readonly','disabled') NOT NULL DEFAULT 'active' AFTER is_default,
    ADD COLUMN max_usage_pct TINYINT UNSIGNED NOT NULL DEFAULT 90 AFTER status,
    ADD COLUMN disk_total BIGINT UNSIGNED DEFAULT NULL AFTER max_usage_pct,
    ADD COLUMN disk_used BIGINT UNSIGNED DEFAULT NULL AFTER disk_total,
    ADD COLUMN disk_checked_at DATETIME DEFAULT NULL AFTER disk_used,
    ADD COLUMN health_status ENUM('ok','warning','error','unknown') NOT NULL DEFAULT 'unknown' AFTER disk_checked_at,
    ADD COLUMN health_message VARCHAR(255) DEFAULT NULL AFTER health_status;
