symfony text type długość

You need to set the length:
To TINYTEXT => length = 255
To TEXT => length = 65535
To MEDIUMTEXT = 16777215
Default: LONGTEXT

Then, for example if you need an type text, it's necessary:

/** * @ORM\Column(name="description", type="text", length=65535)
Komentarze wyłączone