1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00

Fix index on MySQL

This commit is contained in:
Jeremy Benoist 2019-04-01 15:45:17 +02:00
parent c579ce2306
commit 5cc0646e66
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ use Wallabag\UserBundle\Entity\User;
* indexes={
* @ORM\Index(name="created_at", columns={"created_at"}),
* @ORM\Index(name="uid", columns={"uid"}),
* @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"})
* @ORM\Index(name="hashed_url_user_id", columns={"user_id", "hashed_url"}, options={"lengths"={null, 40}})
* }
* )
* @ORM\HasLifecycleCallbacks()