mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-29 16:18:22 +00:00
Add indexes to better support certain queries
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
CREATE INDEX `joblog_id_created_idx` ON `joblog`(`jid`, `created`);
|
||||
-- MariaDB doesn't support coalesce in index
|
||||
--CREATE INDEX `item_itemdate_created_idx` ON `item`(coalesce(`itemdate`, `created`));
|
Reference in New Issue
Block a user