Files
database/migrations/archive/000.052.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

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

10 lines
600 B
SQL

-- PW-979 update delivery methods
-- Replace DHL with dbSchenkerBPA in all european countries
UPDATE "delivery-methods_prices" SET method = 7 WHERE method = 10 AND territory IN ('AT','BE','BG','CY','CZ','DE','DK','EE','ES','EU','FI','FR','GB','GR','HU','IE','IT','LT','LU','LV','MT','NL','PL','PT','RO','SE','SI','SK', 'HR');
-- Replace bringPrivate with dbSchenkerBHP in SE
UPDATE "delivery-methods_prices" SET method = 6 WHERE method = 8 AND territory = 'SE';
-- Replace bringCompany with dbSchenkerBPA in SE
UPDATE "delivery-methods_prices" SET method = 7 WHERE method = 9 AND territory = 'SE';