Browse Source

fix AbstractReport config

Olivier Massot 6 months ago
parent
commit
8183584e2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Entity/Message/AbstractReport.php

+ 1 - 1
src/Entity/Message/AbstractReport.php

@@ -13,8 +13,8 @@ use Doctrine\ORM\Mapping as ORM;
 /**
  * TODO: documenter.
  */
-#[ORM\MappedSuperclass]
 #[ORM\Table(name: 'ReportMessage')]
+#[ORM\InheritanceType('SINGLE_TABLE')]
 class AbstractReport
 {
     #[ORM\Column(type: 'datetime', nullable: true)]