Add an index to the schema for queries that exclude private links

This commit is contained in:
2025-05-11 01:42:35 +02:00
parent 0ec233e7c5
commit 914836cf34

View File

@ -16,4 +16,5 @@ CREATE TABLE links (
);
CREATE INDEX idx_links_created_at ON links(created_at);
CREATE INDEX idx_links_is_private_created_at ON links(is_private, created_at);
CREATE INDEX idx_links_url ON links(url);