From 2e6fce5b64410f1bfbe5fcb87e68c42bf0abb770 Mon Sep 17 00:00:00 2001 From: fredrikphotowall <35255659+fredrikphotowall@users.noreply.github.com> Date: Thu, 25 Mar 2021 12:21:31 +0100 Subject: [PATCH] P5-6773 Delete broken kajsa kavat categories (#206) --- migrations/000.321.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 migrations/000.321.sql diff --git a/migrations/000.321.sql b/migrations/000.321.sql new file mode 100644 index 0000000..624251b --- /dev/null +++ b/migrations/000.321.sql @@ -0,0 +1,6 @@ +-- P5-6773 Delete incorrect categories + +DELETE FROM categories WHERE name = 'Kajsa Kavat' AND id IN (1753,1754); + +REFRESH MATERIALIZED VIEW v_categorytree; +REFRESH MATERIALIZED VIEW v_esales_categorytree_i18n;