CREATE TABLE IF NOT EXISTS system_events (
    id SERIAL PRIMARY KEY,
    timestamp TIMESTAMPTZ NOT NULL DEFAULT NOW(),
    event_type VARCHAR(255) NOT NULL,
    description TEXT,
    severity VARCHAR(50),
    triggered_by VARCHAR(255),
    status VARCHAR(50)
);
