forked from wallabag/wallabag
Added index on table creation
This commit is contained in:
@ -22,7 +22,8 @@ use Wallabag\AnnotationBundle\Entity\Annotation;
|
|||||||
* @ORM\Table(
|
* @ORM\Table(
|
||||||
* name="`entry`",
|
* name="`entry`",
|
||||||
* options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"},
|
* 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()
|
* @ORM\HasLifecycleCallbacks()
|
||||||
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
|
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
|
||||||
|
|||||||
Reference in New Issue
Block a user