Skip to content

Commit

Permalink
allow longer user input in Answer entities
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vo committed Sep 21, 2020
1 parent 98f4503 commit 8b8cda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Entity/AnswerSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AnswerSelect extends Answer
private ?array $values = null;

/**
* @ORM\Column(name="user_value_text", type="string", nullable=true)
* @ORM\Column(name="user_value_text", type="text", nullable=true)
* @Assert\Length(max="50")
*/
private ?string $userOption = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/AnswerText.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class AnswerText extends Answer
{
/**
* @ORM\Column(name="user_value_text", type="string", nullable=true)
* @ORM\Column(name="user_value_text", type="text", nullable=true)
*/
private ?string $text = null;

Expand Down

0 comments on commit 8b8cda8

Please sign in to comment.