Olivier Massot 8 месяцев назад
Родитель
Сommit
8183584e2f
1 измененных файлов с 1 добавлено и 1 удалено
  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.
  * TODO: documenter.
  */
  */
-#[ORM\MappedSuperclass]
 #[ORM\Table(name: 'ReportMessage')]
 #[ORM\Table(name: 'ReportMessage')]
+#[ORM\InheritanceType('SINGLE_TABLE')]
 class AbstractReport
 class AbstractReport
 {
 {
     #[ORM\Column(type: 'datetime', nullable: true)]
     #[ORM\Column(type: 'datetime', nullable: true)]