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

@@ -180,7 +180,7 @@ class WatchList
private ?\DateTimeImmutable $createdAt = null;
#[SerializedName('dsn')]
#[ORM\Column(type: Types::SIMPLE_ARRAY, nullable: true)]
#[ORM\Column(type: Types::JSON, nullable: true)]
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create', 'watchlist:update'])]
#[Assert\Unique]
#[Assert\All([