SPRA-26 add redit- to test
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user