1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Add tag_label & config_feed_token index

This commit is contained in:
Jeremy Benoist 2019-08-08 09:36:03 +02:00
parent 2b0f4e86b2
commit 0810c75e0b
No known key found for this signature in database
GPG key ID: 84290C294324D304
3 changed files with 28 additions and 2 deletions

View file

@ -11,7 +11,12 @@ use Wallabag\UserBundle\Entity\User;
* Config.
*
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\ConfigRepository")
* @ORM\Table(name="`config`")
* @ORM\Table(
* name="`config`",
* indexes={
* @ORM\Index(name="config_feed_token", columns={"feed_token"}, options={"lengths"={255}}),
* }
* )
* @ORM\Entity
*/
class Config

View file

@ -16,6 +16,9 @@ use JMS\Serializer\Annotation\XmlRoot;
* @ORM\Table(
* name="`tag`",
* options={"collate"="utf8mb4_bin", "charset"="utf8mb4"},
* indexes={
* @ORM\Index(name="tag_label", columns={"label"}, options={"lengths"={255}}),
* }
* )
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository")
* @ExclusionPolicy("all")