Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Loiseau
MagicWord
Commits
db742382
Commit
db742382
authored
May 24, 2019
by
Arnaud Bey
Browse files
add indexes
parent
069cacff
Changes
2
Hide whitespace changes
Inline
Side-by-side
application/src/LexiconBundle/Entity/Feature.php
View file @
db742382
...
...
@@ -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
...
...
application/src/LexiconBundle/Entity/Letter.php
View file @
db742382
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment