1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Add index on starred entries

Fixes #4079

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2019-08-06 22:39:12 +10:00
parent d1dbe10e84
commit 5071c8c9cf
No known key found for this signature in database
GPG key ID: 6F82C3C767D655AA
2 changed files with 24 additions and 1 deletions

View file

@ -29,7 +29,8 @@ use Wallabag\UserBundle\Entity\User;
* @ORM\Index(name="uid", columns={"uid"}),
* @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}, options={"lengths"={null, 40}}),
* @ORM\Index(name="hashed_given_url_user_id", columns={"user_id", "hashed_given_url"}, options={"lengths"={null, 40}}),
* @ORM\Index(name="user_language", columns={"language", "user_id"})
* @ORM\Index(name="user_language", columns={"language", "user_id"}),
* @ORM\Index(name="user_starred", columns={"user_id", "is_starred", "starred_at"})
* }
* )
* @ORM\HasLifecycleCallbacks()