]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20190401105353.php
Fix index on MySQL
[github/wallabag/wallabag.git] / app / DoctrineMigrations / Version20190401105353.php
index 94ebb1ab592ea26f89bfa8437b53f48b3c428e68..d27962dbedbdd94c02e4c4c27410dddbb04c33a0 100644 (file)
@@ -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]]);
     }
 
     /**