Skip to content

Commit 9fde526

Browse files
committed
Force "EXPLICIT" tracking policy in all entities (and more to come)
1 parent 06ff3e3 commit 9fde526

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Entity/Operation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
/**
2222
* @ORM\Entity(repositoryClass="App\Repository\OperationRepository")
2323
* @ORM\Table(name="operations")
24+
* @ORM\ChangeTrackingPolicy(value="DEFERRED_EXPLICIT")
2425
*/
2526
class Operation
2627
{

src/Entity/Tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
namespace App\Entity;
1515

16-
use Behat\Transliterator\Transliterator;
1716
use Doctrine\ORM\Mapping as ORM;
1817
use Symfony\Component\String\Slugger\AsciiSlugger;
1918
use Symfony\Component\Validator\Constraints as Assert;
2019

2120
/**
2221
* @ORM\Entity(repositoryClass="App\Repository\TagRepository")
2322
* @ORM\Table(name="tags")
23+
* @ORM\ChangeTrackingPolicy(value="DEFERRED_EXPLICIT")
2424
*/
2525
class Tag
2626
{

src/Entity/TagRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/**
2121
* @ORM\Entity(repositoryClass="App\Repository\TagRuleRepository")
2222
* @ORM\Table(name="tag_rules")
23+
* @ORM\ChangeTrackingPolicy(value="DEFERRED_EXPLICIT")
2324
*/
2425
class TagRule
2526
{

0 commit comments

Comments
 (0)