diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Tag.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 95c47bbd..3ccb20a5 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php | |||
@@ -16,6 +16,9 @@ use JMS\Serializer\Annotation\XmlRoot; | |||
16 | * @ORM\Table( | 16 | * @ORM\Table( |
17 | * name="`tag`", | 17 | * name="`tag`", |
18 | * options={"collate"="utf8mb4_bin", "charset"="utf8mb4"}, | 18 | * options={"collate"="utf8mb4_bin", "charset"="utf8mb4"}, |
19 | * indexes={ | ||
20 | * @ORM\Index(name="tag_label", columns={"label"}, options={"lengths"={255}}), | ||
21 | * } | ||
19 | * ) | 22 | * ) |
20 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository") | 23 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository") |
21 | * @ExclusionPolicy("all") | 24 | * @ExclusionPolicy("all") |