Allow for longer manufacturer and supplier URLs

This commit is contained in:
Jan Böhmer 2023-07-31 00:00:57 +02:00
parent 43cc37d10f
commit 0f336b6f89
3 changed files with 6 additions and 2 deletions

View file

@ -50,7 +50,7 @@ trait ManufacturerTrait
*/
#[Assert\Url]
#[Groups(['full', 'import'])]
#[ORM\Column(type: Types::STRING)]
#[ORM\Column(type: Types::TEXT)]
protected string $manufacturer_product_url = '';
/**

View file

@ -75,7 +75,7 @@ class Orderdetail extends AbstractDBElement implements TimeStampableInterface, N
*/
#[Assert\Url]
#[Groups(['full', 'import'])]
#[ORM\Column(type: Types::STRING)]
#[ORM\Column(type: Types::TEXT)]
protected string $supplier_product_url = '';
/**