Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit db742382 authored by Arnaud Bey's avatar Arnaud Bey
Browse files

add indexes

parent 069cacff
......@@ -5,9 +5,13 @@ namespace LexiconBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\Index;
/**
* @ORM\Table(name="lexicon_feature")
* @ORM\Table(name="lexicon_feature", indexes={
* @Index(columns={"value"}, name="value"),
* @Index(name="label", columns={"label"}),
* }))
* @ORM\Entity(repositoryClass="LexiconBundle\Repository\FeatureRepository")
*/
class Feature
......
......@@ -2,11 +2,14 @@
namespace LexiconBundle\Entity;
use MagicWordBundle\Entity\Rules\LetterPoints;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\Index;
use MagicWordBundle\Entity\Rules\LetterPoints;
/**
* @ORM\Table(name="lexicon_letter")
* @ORM\Table(name="lexicon_letter", indexes={
* @Index(columns={"value"}, name="value"),
* })))
* @ORM\Entity(repositoryClass="LexiconBundle\Repository\LetterRepository")
*/
class Letter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment