Files
foodlinkk-command-center/migrations/017_retaildetail_food_trending.sql
T
2026-06-09 10:41:13 +00:00

16 lines
531 B
SQL

-- RetailDetail Food category feed + trending focus
UPDATE rss_feeds SET
name = 'RetailDetail Food',
url = 'https://www.retaildetail.nl/category/food/feed/',
category = 'food',
is_active = TRUE
WHERE name IN ('RetailDetail', 'RetailDetail Food');
INSERT INTO rss_feeds (name, url, category, is_active) VALUES
('RetailDetail Food', 'https://www.retaildetail.nl/category/food/feed/', 'food', TRUE)
ON CONFLICT (name) DO UPDATE SET
url = EXCLUDED.url,
category = EXCLUDED.category,
is_active = TRUE;