Answer the question
In order to leave comments, you need to log in
Is it possible to adjust the length parameter of an integer field in Doctrine 2?
If the field is of type "string" then you can easily assign any length of the field:
/**
* @ORM\Column(type="string", length=60)
*/
protected $title;
Answer the question
In order to leave comments, you need to log in
If I haven't forgotten, then int is regulated by min and max. So you can get the desired length :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question