Set isActive on cancelReason to true by default

This commit is contained in:
2025-09-29 19:18:43 +02:00
parent 99b801fb8a
commit a3c1aa4679

View File

@@ -24,8 +24,8 @@ class CancelReason
final public const CANCELEDBY_USER = 'CANCELEDBY_USER';
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN)]
private ?bool $active = null;
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN, options: ['default' => true])]
private bool $active = true;
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::STRING, length: 255)]
private ?string $canceledBy = null;