Browse Source

fix AbstractReport config

Olivier Massot 6 tháng trước cách đây
mục cha
commit
8183584e2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)]