Fixed lower case tags migration

This commit is contained in:
Nicolas Lœuillet 2017-12-15 13:59:02 +01:00
parent a68a80f654
commit caf719f163
No known key found for this signature in database
GPG key ID: 68C7E8049A047DF7

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