aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-08-08 09:36:03 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-08-08 09:36:03 +0200
commit0810c75e0bd2aa008d69da819a7c51207f159854 (patch)
tree44b0df44832eb96797877faf336679c280c7ee33 /src
parent2b0f4e86b27fec39f5e172fbeba9ce033aef2e79 (diff)
downloadwallabag-0810c75e0bd2aa008d69da819a7c51207f159854.tar.gz
wallabag-0810c75e0bd2aa008d69da819a7c51207f159854.tar.zst
wallabag-0810c75e0bd2aa008d69da819a7c51207f159854.zip
Add `tag_label` & `config_feed_token` index
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Config.php7
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tag.php3
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php
index c6e65d66..5181d91d 100644
--- a/src/Wallabag/CoreBundle/Entity/Config.php
+++ b/src/Wallabag/CoreBundle/Entity/Config.php
@@ -11,7 +11,12 @@ use Wallabag\UserBundle\Entity\User;
11 * Config. 11 * Config.
12 * 12 *
13 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\ConfigRepository") 13 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\ConfigRepository")
14 * @ORM\Table(name="`config`") 14 * @ORM\Table(
15 * name="`config`",
16 * indexes={
17 * @ORM\Index(name="config_feed_token", columns={"feed_token"}, options={"lengths"={255}}),
18 * }
19 * )
15 * @ORM\Entity 20 * @ORM\Entity
16 */ 21 */
17class Config 22class Config
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php
index 95c47bbd..3ccb20a5 100644
--- a/src/Wallabag/CoreBundle/Entity/Tag.php
+++ b/src/Wallabag/CoreBundle/Entity/Tag.php
@@ -16,6 +16,9 @@ use JMS\Serializer\Annotation\XmlRoot;
16 * @ORM\Table( 16 * @ORM\Table(
17 * name="`tag`", 17 * name="`tag`",
18 * options={"collate"="utf8mb4_bin", "charset"="utf8mb4"}, 18 * options={"collate"="utf8mb4_bin", "charset"="utf8mb4"},
19 * indexes={
20 * @ORM\Index(name="tag_label", columns={"label"}, options={"lengths"={255}}),
21 * }
19 * ) 22 * )
20 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository") 23 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository")
21 * @ExclusionPolicy("all") 24 * @ExclusionPolicy("all")