]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20190401105353.php
Some cleanup
[github/wallabag/wallabag.git] / app / DoctrineMigrations / Version20190401105353.php
index c1c220537e21be19530301e84adbb52b7af79a2e..94ebb1ab592ea26f89bfa8437b53f48b3c428e68 100644 (file)
@@ -24,11 +24,6 @@ class Version20190401105353 extends WallabagMigration
             'notnull' => false,
         ]);
 
-        // sqlite doesn't have the MD5 function by default
-        if ('sqlite' !== $this->connection->getDatabasePlatform()->getName()) {
-            $this->addSql('UPDATE ' . $this->getTable('entry') . ' SET hashed_url = MD5(url)');
-        }
-
         $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id');
     }