]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Tag.php
✨ Allow custom styles system wide
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Tag.php
index a6dc8c50902ed26f3acb89a65b5dca8d4af073db..3ccb20a5c57012cd848df8f705f3bb1f644448f5 100644 (file)
@@ -13,7 +13,13 @@ use JMS\Serializer\Annotation\XmlRoot;
  * Tag.
  *
  * @XmlRoot("tag")
- * @ORM\Table(name="`tag`")
+ * @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")
  */