Add an index for EbookCreated

This is the default sort on /ebooks, so it should have an index
This commit is contained in:
Mike Colagrosso 2024-07-05 18:42:18 -06:00 committed by Alex Cabal
parent be6873d21d
commit 4abf6e29d2

View file

@ -27,5 +27,6 @@ CREATE TABLE `Ebooks` (
`IndexableText` text NOT NULL,
PRIMARY KEY (`EbookId`),
UNIQUE KEY `index1` (`Identifier`),
KEY `index2` (`EbookCreated`),
FULLTEXT `idxSearch` (`IndexableText`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;