diff --git a/src/Bundle/ChillMainBundle/Entity/Notification.php b/src/Bundle/ChillMainBundle/Entity/Notification.php index fd0a2acb8..76a4b1e4c 100644 --- a/src/Bundle/ChillMainBundle/Entity/Notification.php +++ b/src/Bundle/ChillMainBundle/Entity/Notification.php @@ -27,6 +27,7 @@ use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=NotificationRepository::class) + * @ORM\Table(name="chill_main_notification") */ class Notification { @@ -70,7 +71,7 @@ class Notification private $relatedEntityId; /** - * @ORM\Column(type="boolean") + * @ORM\Column(type="json") */ private $read; @@ -168,12 +169,12 @@ class Notification return $this; } - public function getRead(): ?bool + public function getRead(): array { return $this->read; } - public function setRead(bool $read): self + public function setRead(array $read): self { $this->read = $read;