perf: add 2.2.3 schema up sql to master (#15027)

Signed-off-by: chlins <chlins.zhang@gmail.com>
This commit is contained in:
ChenYu Zhang 2021-06-01 14:12:25 +08:00 committed by GitHub
parent 521e8a64fb
commit a038ba672f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
CREATE INDEX IF NOT EXISTS idx_artifact_push_time ON artifact (push_time);
CREATE INDEX IF NOT EXISTS idx_tag_push_time ON tag (push_time);
CREATE INDEX IF NOT EXISTS idx_tag_artifact_id ON tag (artifact_id);
CREATE INDEX IF NOT EXISTS idx_artifact_reference_child_id ON artifact_reference (child_id);