aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20190401105353.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/DoctrineMigrations/Version20190401105353.php')
-rw-r--r--app/DoctrineMigrations/Version20190401105353.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/DoctrineMigrations/Version20190401105353.php b/app/DoctrineMigrations/Version20190401105353.php
index c1c22053..94ebb1ab 100644
--- a/app/DoctrineMigrations/Version20190401105353.php
+++ b/app/DoctrineMigrations/Version20190401105353.php
@@ -24,11 +24,6 @@ class Version20190401105353 extends WallabagMigration
24 'notnull' => false, 24 'notnull' => false,
25 ]); 25 ]);
26 26
27 // sqlite doesn't have the MD5 function by default
28 if ('sqlite' !== $this->connection->getDatabasePlatform()->getName()) {
29 $this->addSql('UPDATE ' . $this->getTable('entry') . ' SET hashed_url = MD5(url)');
30 }
31
32 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id'); 27 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id');
33 } 28 }
34 29