aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorOlivier Mehani <shtrom@ssji.net>2019-08-06 22:39:12 +1000
committerOlivier Mehani <shtrom@ssji.net>2019-08-06 23:21:47 +1000
commit5071c8c9cf4d3fcb79851e3ea089593c81cd3b02 (patch)
tree627c45e7595b3c240e4674e62ca39af1b172659e /src/Wallabag
parentd1dbe10e8460b7117c98ee1e02735602887fd3a4 (diff)
downloadwallabag-5071c8c9cf4d3fcb79851e3ea089593c81cd3b02.tar.gz
wallabag-5071c8c9cf4d3fcb79851e3ea089593c81cd3b02.tar.zst
wallabag-5071c8c9cf4d3fcb79851e3ea089593c81cd3b02.zip
Add index on starred entries
Fixes #4079 Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index eb185b8c..593ff01d 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -29,7 +29,8 @@ use Wallabag\UserBundle\Entity\User;
29 * @ORM\Index(name="uid", columns={"uid"}), 29 * @ORM\Index(name="uid", columns={"uid"}),
30 * @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}, options={"lengths"={null, 40}}), 30 * @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}, options={"lengths"={null, 40}}),
31 * @ORM\Index(name="hashed_given_url_user_id", columns={"user_id", "hashed_given_url"}, options={"lengths"={null, 40}}), 31 * @ORM\Index(name="hashed_given_url_user_id", columns={"user_id", "hashed_given_url"}, options={"lengths"={null, 40}}),
32 * @ORM\Index(name="user_language", columns={"language", "user_id"}) 32 * @ORM\Index(name="user_language", columns={"language", "user_id"}),
33 * @ORM\Index(name="user_starred", columns={"user_id", "is_starred", "starred_at"})
33 * } 34 * }
34 * ) 35 * )
35 * @ORM\HasLifecycleCallbacks() 36 * @ORM\HasLifecycleCallbacks()