mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 02:58:05 +01:00
Merge pull request #16300 from zyyw/vulnerability-bigint
fix: vulnerability_record & report_vulnerability_record table "integer out of range" error
This commit is contained in:
commit
5833ff4731
@ -25,3 +25,8 @@ CREATE TABLE IF NOT EXISTS artifact_accessory (
|
||||
CONSTRAINT unique_artifact_accessory UNIQUE (artifact_id, subject_artifact_id)
|
||||
);
|
||||
|
||||
/* Change vulnerability_record.id and report_vulnerability_record.id to BIGINT */
|
||||
ALTER TABLE vulnerability_record ALTER COLUMN id TYPE BIGINT;
|
||||
ALTER SEQUENCE vulnerability_record_id_seq AS BIGINT;
|
||||
ALTER TABLE report_vulnerability_record ALTER COLUMN id TYPE BIGINT;
|
||||
ALTER SEQUENCE report_vulnerability_record_id_seq AS BIGINT;
|
||||
|
Loading…
Reference in New Issue
Block a user