@ -29,7 +29,7 @@ class Poll {
*/
public $title;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @ORM\Column(type="string", length=255, nullable=false, unique=true)
* @Serializer\Expose()
* @Serializer\Type("string")