diff --git a/src/migrations/Install.php b/src/migrations/Install.php index e92b629..cf03bf4 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -53,6 +53,7 @@ public function safeUp() echo " > Create index: urlhash_idx" . PHP_EOL; $this->createIndex('urlhash_idx', Plugin::CACHE_TABLE, 'urlHash', true); + $this->createIndex('uid_urlhash_ids', Plugin::CACHE_TABLE, 'uid,urlHash', true); $this->execute("CREATE INDEX tags_array ON " . Plugin::CACHE_TABLE . " USING GIN(tags)");