From 0cf036e73a36fb6289c6aca1367a6ea28123cbf6 Mon Sep 17 00:00:00 2001 From: Chenyu Zhang Date: Wed, 22 Jun 2022 14:34:40 +0800 Subject: [PATCH] migrate: add db index on artifact repository name (#17053) Signed-off-by: chlins --- make/migrations/postgresql/0081_2.5.2_schema.up.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 make/migrations/postgresql/0081_2.5.2_schema.up.sql diff --git a/make/migrations/postgresql/0081_2.5.2_schema.up.sql b/make/migrations/postgresql/0081_2.5.2_schema.up.sql new file mode 100644 index 000000000..a6aeca4b3 --- /dev/null +++ b/make/migrations/postgresql/0081_2.5.2_schema.up.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS idx_artifact_repository_name ON artifact (repository_name); \ No newline at end of file