diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:53:48 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:53:48 +0200 |
commit | d6fa2f70ac3c798b28ce33c6c143f45c09c74062 (patch) | |
tree | 40769c29279d189dfe0dbb8aa513122f9172ebde /src/Wallabag/CoreBundle/Entity/Entry.php | |
parent | 1a93ee423b072ec3bcb0c437cbf9b488bdea245c (diff) | |
parent | 276a1e9d3fb7e83569d16bcb37a67607d4ace8be (diff) | |
download | wallabag-d6fa2f70ac3c798b28ce33c6c143f45c09c74062.tar.gz wallabag-d6fa2f70ac3c798b28ce33c6c143f45c09c74062.tar.zst wallabag-d6fa2f70ac3c798b28ce33c6c143f45c09c74062.zip |
Merge pull request #1165 from wallabag/v2-prefix-db
Prefix table
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 4 |
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 | ||