mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-25 00:51:24 +01:00
migrate: add db index on artifact repository name (#17035)
Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
parent
c91d2f618c
commit
5de1a62002
@ -15,4 +15,6 @@ Github proposal link : https://github.com/goharbor/community/pull/181
|
||||
create_time timestamp default CURRENT_TIMESTAMP,
|
||||
extra_attrs text NOT NULL DEFAULT '' ,
|
||||
UNIQUE ("repository", "digest", "vendor")
|
||||
);
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_artifact_repository_name ON artifact (repository_name);
|
Loading…
Reference in New Issue
Block a user