diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-08-08 15:27:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 15:27:49 +0200 |
commit | 97c678a0b26d748f9829d732910d5c402c609dc2 (patch) | |
tree | e82f95e192cd54e1094227c3987ae2af5215d2b4 /src/Wallabag/CoreBundle/Entity/Config.php | |
parent | 1a6980dbd16fd75f7be2420feeb9cc72b46884ef (diff) | |
parent | 00567d9ccde71eba1aabf8fa0d547897f6870b28 (diff) | |
download | wallabag-97c678a0b26d748f9829d732910d5c402c609dc2.tar.gz wallabag-97c678a0b26d748f9829d732910d5c402c609dc2.tar.zst wallabag-97c678a0b26d748f9829d732910d5c402c609dc2.zip |
Merge pull request #4081 from shtrom/fix-slow-queries
Fix slow/unindexed queries
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Config.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Config.php | 7 |
1 files changed, 6 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 | */ |
17 | class Config | 22 | class Config |