aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-03-28 11:29:19 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-04-01 21:32:02 +0200
commit164bd801188245942ca996eda75d7a554f29746a (patch)
tree6e4892446a97f9a2b38a781ca09154da93a82646 /src/Wallabag/CoreBundle/Entity/Entry.php
parent1a93ee423b072ec3bcb0c437cbf9b488bdea245c (diff)
downloadwallabag-164bd801188245942ca996eda75d7a554f29746a.tar.gz
wallabag-164bd801188245942ca996eda75d7a554f29746a.tar.zst
wallabag-164bd801188245942ca996eda75d7a554f29746a.zip
Ability to prefix tables
Will fix #799
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 75aeae84..15af105d 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -13,7 +13,7 @@ use JMS\Serializer\Annotation\XmlRoot;
13 * 13 *
14 * @XmlRoot("entry") 14 * @XmlRoot("entry")
15 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntryRepository") 15 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntryRepository")
16 * @ORM\Table(name="entry") 16 * @ORM\Table
17 * @ORM\HasLifecycleCallbacks() 17 * @ORM\HasLifecycleCallbacks()
18 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())") 18 * @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
19 */ 19 */
@@ -121,7 +121,7 @@ class Entry
121 121
122 /** 122 /**
123 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) 123 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
124 * @ORM\JoinTable(name="entry_tags") 124 * @ORM\JoinTable
125 */ 125 */
126 private $tags; 126 private $tags;
127 127