diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-04-01 15:45:17 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-04-01 15:45:17 +0200 |
commit | 5cc0646e66f52448f83a7a458e0b60b4580e83e5 (patch) | |
tree | f6c7386b426112fb682699caa7944a580286f0ba /src | |
parent | c579ce2306297674c56376a2ab5c8ba66a272253 (diff) | |
download | wallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.tar.gz wallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.tar.zst wallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.zip |
Fix index on MySQL
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index faf4d259..c3fb87d2 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -26,7 +26,7 @@ use Wallabag\UserBundle\Entity\User; | |||
26 | * indexes={ | 26 | * indexes={ |
27 | * @ORM\Index(name="created_at", columns={"created_at"}), | 27 | * @ORM\Index(name="created_at", columns={"created_at"}), |
28 | * @ORM\Index(name="uid", columns={"uid"}), | 28 | * @ORM\Index(name="uid", columns={"uid"}), |
29 | * @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}) | 29 | * @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}, options={"lengths"={null, 40}}) |
30 | * } | 30 | * } |
31 | * ) | 31 | * ) |
32 | * @ORM\HasLifecycleCallbacks() | 32 | * @ORM\HasLifecycleCallbacks() |