-- Adjust or remove deprecated discount filters

-- group:photo-wallpaper => wallpaper (56 rows)
UPDATE discount_code_filters SET filter_value = 'wallpaper' WHERE filter_value = 'photo-wallpaper' AND filter_name = 'group';

-- group:designer-wallpaper => wallpaper (1 row)
UPDATE discount_code_filters SET filter_value = 'wallpaper' WHERE filter_value = 'designer-wallpaper' AND filter_name = 'group';

-- group:framed-print => poster (53 rows)
UPDATE discount_code_filters SET filter_value = 'poster' WHERE filter_value = 'framed-print' AND filter_name = 'group';

-- categoryId:x => delete (16 rows)
DELETE FROM discount_code_filters WHERE filter_name = 'categoryId';
