Skip to content

Commit

Permalink
added column index for TestSession::status, TestSession::updated
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawlis committed Nov 14, 2024
1 parent 5053dd9 commit 232886f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Concerto/PanelBundle/Entity/TestSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
use DateTime;

/**
* @ORM\Table(uniqueConstraints={@UniqueConstraint(name="hash_idx", columns={"hash"})})
* @ORM\Table(
* uniqueConstraints={@UniqueConstraint(name="hash_idx", columns={"hash"})},
* indexes={@Index(name="idx", columns={"status","updated"})}
* )
* @ORM\Entity(repositoryClass="Concerto\PanelBundle\Repository\TestSessionRepository")
* @ORM\HasLifecycleCallbacks
*/
Expand Down

0 comments on commit 232886f

Please sign in to comment.