Clean migration for main bundle

This commit is contained in:
2024-09-19 14:37:57 +02:00
committed by Julien Fastré
parent de711181df
commit 82cb359072
10 changed files with 42 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ class Country
* @var array<string, string>
*/
#[Groups(['read', 'docgen:read'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, options: ['default' => '[]', 'jsonb' => true])]
#[Context(['is-translatable' => true], groups: ['docgen:read'])]
private array $name = [];