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

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

35 lines
4.1 KiB
SQL

-- Change designer path from cecilia-viklund-soderquist to cecilia-wiklund
UPDATE designers SET path = 'cecilia-wiklund' WHERE designerid = 64;
-- designer route names from route_translations.php. site prefixes are not included in redirects.
INSERT INTO redirects (source_uri, target_uri, market_locale_id) VALUES
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Austria')),
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Germany')),
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Italy')),
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Luxembourg (German)')),
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Switzerland (German)')),
('designer/cecilia-viklund-soderquist', 'designer/cecilia-wiklund', (select id from market_locales where name = 'Switzerland (Italian)')),
('designere/cecilia-viklund-soderquist', 'designere/cecilia-wiklund', (select id from market_locales where name = 'Denmark')),
('designere/cecilia-viklund-soderquist', 'designere/cecilia-wiklund', (select id from market_locales where name = 'Norway')),
('designeri/cecilia-viklund-soderquist', 'designeri/cecilia-wiklund', (select id from market_locales where name = 'Romania')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Australia')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Belgium (Dutch)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Belgium (French)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Canada (English)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Canada (French)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Estonia')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'France')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'International')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Ireland')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Luxembourg (French)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Netherlands')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Portugal')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Singapore')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Sweden')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'Switzerland (French)')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'USA')),
('designers/cecilia-viklund-soderquist', 'designers/cecilia-wiklund', (select id from market_locales where name = 'United Kingdom')),
('disenadores/cecilia-viklund-soderquist', 'disenadores/cecilia-wiklund', (select id from market_locales where name = 'Spain')),
('projektanci/cecilia-viklund-soderquist', 'projektanci/cecilia-wiklund', (select id from market_locales where name = 'Poland')),
('suunnittelijat/cecilia-viklund-soderquist', 'suunnittelijat/cecilia-wiklund', (select id from market_locales where name = 'Finland'));