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

@@ -26,7 +26,7 @@ use Symfony\Component\Serializer\Annotation\DiscriminatorMap;
class Location implements TrackCreationInterface, TrackUpdateInterface
{
#[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 $active = true;
#[Serializer\Groups(['read', 'write', 'docgen:read'])]