forked from friendica/friendica
Two slow database queries fixed
This commit is contained in:
parent
7ea03b0e22
commit
60823c07fe
5 changed files with 8 additions and 3 deletions
|
|
@ -236,6 +236,7 @@ CREATE TABLE IF NOT EXISTS `contact` (
|
|||
INDEX `next-update` (`next-update`),
|
||||
INDEX `local-data-next-update` (`local-data`,`next-update`),
|
||||
INDEX `uid_lastitem` (`uid`,`last-item`),
|
||||
INDEX `uid_created` (`uid`,`created`),
|
||||
INDEX `baseurl` (`baseurl`(64)),
|
||||
INDEX `uid_contact-type` (`uid`,`contact-type`),
|
||||
INDEX `uid_self_contact-type` (`uid`,`self`,`contact-type`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue