aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-14 10:11:33 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-23 10:26:33 +0100
commitaf131cb513584a2bbc992dfcaa756a5b425dbe50 (patch)
tree22ed950c05328378a87e051a7bdc88d1a1c12c57 /src
parent74b7c0985d3ff2b2011d0809c9b71e505e9aa947 (diff)
downloadwallabag-af131cb513584a2bbc992dfcaa756a5b425dbe50.tar.gz
wallabag-af131cb513584a2bbc992dfcaa756a5b425dbe50.tar.zst
wallabag-af131cb513584a2bbc992dfcaa756a5b425dbe50.zip
Added index on table creation
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 3ae5334f..8dcc7190 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -22,7 +22,8 @@ use Wallabag\AnnotationBundle\Entity\Annotation;
22 * @ORM\Table( 22 * @ORM\Table(
23 * name="`entry`", 23 * name="`entry`",
24 * options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"}, 24 * options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"},
25 * indexes={@ORM\Index(name="created_at", columns={"created_at"})} 25 * indexes={@ORM\Index(name="created_at", columns={"created_at"})},
26 * indexes={@ORM\Index(name="uuid", columns={"uuid"})}
26 * ) 27 * )
27 * @ORM\HasLifecycleCallbacks() 28 * @ORM\HasLifecycleCallbacks()
28 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())") 29 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")