P5-6672 blacklist products on BE based on NL (#187)

This commit is contained in:
Martin Carlsson
2021-02-18 12:00:01 +01:00
committed by GitHub
parent 352c6ff548
commit ed06508864
+11
View File
@@ -0,0 +1,11 @@
-- P5-6672: blacklist products on BE based on NL
delete from product_blacklist where market_id = (select id from markets where name = 'BE');
INSERT INTO product_blacklist (product_id, group_id, market_id)
SELECT
product_id,
group_id,
(select id from markets where name = 'BE')
FROM product_blacklist
where market_id = (select id from markets where name = 'NL');