From 10438f2485b69ac1a1d853ccfa9f61807652978c Mon Sep 17 00:00:00 2001 From: Fredrik Ringqvist <35255659+fredrikphotowall@users.noreply.github.com> Date: Mon, 27 Jun 2022 15:08:32 +0200 Subject: [PATCH] Change Swiss VAT to 0% (#282) --- migrations/000.381.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 migrations/000.381.sql diff --git a/migrations/000.381.sql b/migrations/000.381.sql new file mode 100644 index 0000000..c4fc315 --- /dev/null +++ b/migrations/000.381.sql @@ -0,0 +1,7 @@ +-- Change Switzerland VAT to 0% + +UPDATE markets SET vat = 1 WHERE name = 'CH'; + +UPDATE "delivery-methods_prices" SET price = 35 WHERE territory = 'CH' AND currency = 'CHF' + AND method = (select id from "delivery-methods" where name = 'dhl'); +