From 15fa52b9bb11c22674493feeb5a1f585102f0b36 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 23 Oct 2021 20:57:52 +0200 Subject: [PATCH] Add more indices Signed-off-by: trivernis --- .../migrations/20211023154616_add-more-indices.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 mediarepo-daemon/mediarepo-database/migrations/20211023154616_add-more-indices.sql diff --git a/mediarepo-daemon/mediarepo-database/migrations/20211023154616_add-more-indices.sql b/mediarepo-daemon/mediarepo-database/migrations/20211023154616_add-more-indices.sql new file mode 100644 index 0000000..6385ed3 --- /dev/null +++ b/mediarepo-daemon/mediarepo-database/migrations/20211023154616_add-more-indices.sql @@ -0,0 +1,3 @@ +-- Add migration script here +CREATE INDEX index_hash_tag_mappings_tag_id ON hash_tag_mappings (tag_id); +CREATE INDEX index_tag_name ON tags (name);