]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Add migration to change case of tags
authorKevin Decherf <kevin@kdecherf.com>
Thu, 20 Jul 2017 20:05:44 +0000 (22:05 +0200)
committerKevin Decherf <kevin@kdecherf.com>
Sun, 27 Aug 2017 14:51:23 +0000 (16:51 +0200)
commitbd164a75c42accdc1601a69d101e759d4326e018
treef9a8be917f6a984586ef31e77d6d393472e7d80f
parent7036d91fe7332a797bf5cbccec8790bcef8437d4
Add migration to change case of tags

This migration does not support SQLite as long as this engine does not
support Unicode in LOWER().

This migration starts by retrieving the list of lowercase tags which
need to be migrated. Then it retrieves the list of tags for each tags
from the previous step in order to migrate entries. It handles deletion
of empty tags. At the end the migration makes a full scan to update the
label of all remaining tags.

WARNING: THIS MIGRATION IS IRREVERSIBLE.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
app/DoctrineMigrations/Version20170719231144.php [new file with mode: 0644]