CREATE TABLE vulnerability_cwes (
    vulnerability_id BIGINT NOT NULL REFERENCES vulnerabilities (id) ON DELETE CASCADE,
    cwe_id TEXT NOT NULL,
    source TEXT NOT NULL,
    PRIMARY KEY (vulnerability_id, cwe_id, source)
);
