Merge branch 'master' into tryUpgradeView

This commit is contained in:
2024-08-09 14:21:56 +02:00
13 changed files with 55 additions and 5 deletions
+3
View File
@@ -11,6 +11,8 @@ use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ReportsRepository::class)]
#[ORM\Cache(usage: 'NONSTRICT_READ_WRITE', region: 'report_cache')]
class Reports
{
#[ORM\Id]
@@ -29,6 +31,7 @@ class Reports
* @var Collection<int, ReportsTodo>
*/
#[ORM\OneToMany(targetEntity: ReportsTodo::class, mappedBy: 'report', orphanRemoval: true)]
#[ORM\Cache(usage: 'READ_ONLY', region: 'report_cache')]
private Collection $reportsTodos;