mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
Added index on table creation
This commit is contained in:
parent
74b7c0985d
commit
af131cb513
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ use Wallabag\AnnotationBundle\Entity\Annotation;
|
|||
* @ORM\Table(
|
||||
* name="`entry`",
|
||||
* options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"},
|
||||
* indexes={@ORM\Index(name="created_at", columns={"created_at"})}
|
||||
* indexes={@ORM\Index(name="created_at", columns={"created_at"})},
|
||||
* indexes={@ORM\Index(name="uuid", columns={"uuid"})}
|
||||
* )
|
||||
* @ORM\HasLifecycleCallbacks()
|
||||
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
|
||||
|
|
Loading…
Reference in a new issue