Clean migration of NULL definition on entity properties

This commit is contained in:
2024-11-04 14:43:38 +01:00
committed by Julien Fastré
parent a97a586b9d
commit 31912b9b91
2 changed files with 54 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ class CustomFieldsGroup
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
private array|string $name;
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
private array $options = [];
/**