aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-04-01 15:45:17 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-04-01 15:45:17 +0200
commit5cc0646e66f52448f83a7a458e0b60b4580e83e5 (patch)
treef6c7386b426112fb682699caa7944a580286f0ba /app
parentc579ce2306297674c56376a2ab5c8ba66a272253 (diff)
downloadwallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.tar.gz
wallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.tar.zst
wallabag-5cc0646e66f52448f83a7a458e0b60b4580e83e5.zip
Fix index on MySQL
Diffstat (limited to 'app')
-rw-r--r--app/DoctrineMigrations/Version20190401105353.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20190401105353.php b/app/DoctrineMigrations/Version20190401105353.php
index 94ebb1ab..d27962db 100644
--- a/app/DoctrineMigrations/Version20190401105353.php
+++ b/app/DoctrineMigrations/Version20190401105353.php
@@ -24,7 +24,7 @@ class Version20190401105353 extends WallabagMigration
24 'notnull' => false, 24 'notnull' => false,
25 ]); 25 ]);
26 26
27 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id'); 27 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]);
28 } 28 }
29 29
30 /** 30 /**