CREATE TABLE IF NOT EXISTS VulnerabilitiesVulnerabilityReferences (
    VulnerabilityVulnerabilityReference_ID INTEGER PRIMARY KEY,
    Vulnerability_ID INTEGER NOT NULL,
    Reference_ID INTEGER NOT NULL,
    UNIQUE (Vulnerability_ID, Reference_ID) ON CONFLICT IGNORE,
    FOREIGN KEY (Vulnerability_ID) REFERENCES Vulnerabilities(Vulnerability_ID),
    FOREIGN KEY (Reference_ID) REFERENCES VulnerabilityReferences(Reference_ID)
);