<?php
require 'db.php';
$pdo = db();
try {
    $pdo->exec("ALTER TABLE alerts_sent ADD COLUMN severity VARCHAR(50) NOT NULL DEFAULT 'info'");
    echo "Column severity added.";
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
