Merge pull request #3507 from wallabag/fix-lowercase-migration

Fixed lower case tags migration
This commit is contained in:
Nicolas Lœuillet 2017-12-16 09:02:56 +01:00 committed by GitHub
commit 64e7c90ae9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 . '
)'
);