X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FDoctrineMigrations%2FVersion20190401105353.php;h=d27962dbedbdd94c02e4c4c27410dddbb04c33a0;hb=5cc0646e66f52448f83a7a458e0b60b4580e83e5;hp=94ebb1ab592ea26f89bfa8437b53f48b3c428e68;hpb=c579ce2306297674c56376a2ab5c8ba66a272253;p=github%2Fwallabag%2Fwallabag.git 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 'notnull' => false, ]); - $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id'); + $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]); } /**