Clean migration for person bundle

This commit is contained in:
2024-09-19 14:38:45 +02:00
committed by Julien Fastré
parent a604f3947c
commit 877c33e4ce
5 changed files with 71 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class Relation
private ?int $id = null;
#[Serializer\Groups(['read'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN, options: ['default' => true])]
private bool $isActive = true;
#[Serializer\Groups(['read'])]