From 6be1a744089909971d8166c999251a58538ffc22 Mon Sep 17 00:00:00 2001 From: Danny van Wijk Date: Wed, 12 Jun 2024 14:48:51 +0200 Subject: [PATCH] Increase redirect origin field length --- src/Kunstmaan/RedirectBundle/Entity/Redirect.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Kunstmaan/RedirectBundle/Entity/Redirect.php b/src/Kunstmaan/RedirectBundle/Entity/Redirect.php index 80d2da1e2f..c131c6b3e8 100644 --- a/src/Kunstmaan/RedirectBundle/Entity/Redirect.php +++ b/src/Kunstmaan/RedirectBundle/Entity/Redirect.php @@ -35,10 +35,11 @@ class Redirect extends AbstractEntity /** * @var string * - * @ORM\Column(name="origin", type="string", length=255) + * @ORM\Column(name="origin", type="string", length=500) */ - #[ORM\Column(name: 'origin', type: 'string', length: 255)] + #[ORM\Column(name: 'origin', type: 'string', length: 500)] #[Assert\NotBlank] + #[Assert\Length(max: 500)] private $origin; /**