Files
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

8 lines
372 B
SQL

-- 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