-- Delete all the non core texttags in product description categories

DELETE FROM "i18n-texts_data" td
USING "i18n-texts" t, locales l
WHERE td.textid = t.textid
  AND td.locale_id = l.id
  AND t.category = 'productDescriptionWallpaper'
  AND l.fallback_id IS NOT NULL;

DELETE FROM "i18n-texts_data" td
USING "i18n-texts" t, locales l
WHERE td.textid = t.textid
  AND td.locale_id = l.id
  AND t.category = 'productDescriptionCanvas'
  AND l.fallback_id IS NOT NULL;

DELETE FROM "i18n-texts_data" td
USING "i18n-texts" t, locales l
WHERE td.textid = t.textid
  AND td.locale_id = l.id
  AND t.category = 'productDescriptionPoster'
  AND l.fallback_id IS NOT NULL;
