fix column and max key length (#789)

This commit is contained in:
Kevin Papst
2019-05-14 23:09:33 +02:00
committed by GitHub
parent bbe1f9beda
commit 1903d6fb77
3 changed files with 3 additions and 3 deletions

View File

@@ -37,9 +37,9 @@ class Tag
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
* @ORM\Column(name="name", type="string", length=100, nullable=false)
* @Assert\NotBlank()
* @Assert\Length(min=2, max=255)
* @Assert\Length(min=2, max=100)
*/
private $name;