From eff6acba946e53597e85f0c3705e262377057f7b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 19 Nov 2017 11:40:45 -0800 Subject: [PATCH] Create index on statuses (read) for performance reasons. --- Frameworks/Database/CreateStatements.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/Database/CreateStatements.sql b/Frameworks/Database/CreateStatements.sql index 650a3a2b1..31ea1bfe9 100644 --- a/Frameworks/Database/CreateStatements.sql +++ b/Frameworks/Database/CreateStatements.sql @@ -14,3 +14,4 @@ CREATE INDEX if not EXISTS articles_feedID_index on articles (feedID); CREATE INDEX if not EXISTS tags_tagName_index on tags (tagName COLLATE NOCASE); +CREATE INDEX if not EXISTS statuses_read_index on statuses (read);