P5-5006 redirect dk framed print urls

This commit is contained in:
Martin Carlsson
2020-03-30 16:27:42 +02:00
committed by GitHub
parent bd6d54709e
commit be8fa4cd16
+7
View File
@@ -0,0 +1,7 @@
-- P5-5006: redirect DK framed-prints url
INSERT INTO redirects (market_id, source_uri, target_uri)
SELECT 4, products.path || '-' || 'indrammet billede', products.path || '-' || 'indrammet-billede'
FROM "product-printproducts" printproducts
JOIN "product-products" products ON products.productid = printproducts.productid
WHERE printproducts.groupid = 8