feat: use JSONB instead of SIMPLE_ARRAY

This commit is contained in:
Maël Gangloff
2025-10-16 22:21:08 +02:00
parent a143039925
commit 64fe0c895b
8 changed files with 213 additions and 9 deletions

View File

@@ -27,11 +27,11 @@ class DomainStatus
#[Groups(['domain:item'])]
private \DateTimeImmutable $date;
#[ORM\Column(type: Types::SIMPLE_ARRAY, nullable: true)]
#[ORM\Column(type: Types::JSON, nullable: true)]
#[Groups(['domain:item'])]
private array $addStatus = [];
#[ORM\Column(type: Types::SIMPLE_ARRAY, nullable: true)]
#[ORM\Column(type: Types::JSON, nullable: true)]
#[Groups(['domain:item'])]
private array $deleteStatus = [];