]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fixed lower case tags migration 3507/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 15 Dec 2017 12:59:02 +0000 (13:59 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 15 Dec 2017 12:59:02 +0000 (13:59 +0100)
app/DoctrineMigrations/Version20170719231144.php

index 9a6f3e938a0f751144715245ad0eca4f89e88f7c..867540331f840391e3a6d26b927bc0238ffbae75 100644 (file)
@@ -75,7 +75,7 @@ class Version20170719231144 extends AbstractMigration implements ContainerAwareI
                     WHERE  tag_id IN (' . implode(',', $ids) . ')
                         AND entry_id NOT IN (
                            SELECT entry_id
-                           FROM ' . $this->getTable('entry_tag') . '
+                           FROM (SELECT * FROM ' . $this->getTable('entry_tag') . ') AS _entry_tag
                            WHERE tag_id = ' . $newId . '
                         )'
                 );