aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 8dcc7190..4c22cf9c 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -22,8 +22,10 @@ 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={
26 * indexes={@ORM\Index(name="uuid", columns={"uuid"})} 26 * @ORM\Index(name="created_at", columns={"created_at"}),
27 * @ORM\Index(name="uuid", columns={"uuid"})
28 * }
27 * ) 29 * )
28 * @ORM\HasLifecycleCallbacks() 30 * @ORM\HasLifecycleCallbacks()
29 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())") 31 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
@@ -45,7 +47,7 @@ class Entry
45 /** 47 /**
46 * @var string 48 * @var string
47 * 49 *
48 * @ORM\Column(name="uuid", type="text", nullable=true) 50 * @ORM\Column(name="uuid", type="guid", nullable=true)
49 * 51 *
50 * @Groups({"entries_for_user", "export_all"}) 52 * @Groups({"entries_for_user", "export_all"})
51 */ 53 */