Skip to content

Commit

Permalink
fix: match cve_metrics foreign key to the other table definition (int…
Browse files Browse the repository at this point in the history
…el#4436)

* fixes intel#4434

Co-authored-by: Steven Ding <steven.h.ding@mcgill.ca>
  • Loading branch information
steven-hh-ding and Steven Ding committed Sep 11, 2024
1 parent 4179705 commit 58d8e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/cvedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class CVEDB:
metric_score REAL,
metric_field TEXT,
FOREIGN KEY(cve_number) REFERENCES cve_severity(cve_number),
FOREIGN KEY(metric_id) REFERENCES metrics(metric_id)
FOREIGN KEY(metric_id) REFERENCES metrics(metrics_id)
)
""",
"metrics": """
Expand Down

0 comments on commit 58d8e25

Please sign in to comment.