Add indexes to creational tables (#6974)
This commit is contained in:
@@ -22,6 +22,9 @@ CREATE TABLE mangas(
|
||||
date_added INTEGER AS Long NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX library_favorite_index ON mangas(favorite) WHERE favorite = 1;
|
||||
CREATE INDEX mangas_url_index ON mangas(url);
|
||||
|
||||
getMangaById:
|
||||
SELECT *
|
||||
FROM mangas
|
||||
|
||||
Reference in New Issue
Block a user