From 7a7440aab8650d5ca7401e4df4f1f32eff08a674 Mon Sep 17 00:00:00 2001 From: Martin Carlsson Date: Thu, 14 Jan 2021 08:10:40 +0100 Subject: [PATCH] P5-6493 add vat to markets (#168) --- migrations/000.284.sql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 migrations/000.284.sql diff --git a/migrations/000.284.sql b/migrations/000.284.sql new file mode 100644 index 0000000..66567fb --- /dev/null +++ b/migrations/000.284.sql @@ -0,0 +1,22 @@ +-- P5-6493: add VAT to markets table + +alter table markets + add column vat numeric; + +update markets set vat = 1.25 where name = 'SE'; +update markets set vat = 1.25 where name = 'NO'; +update markets set vat = 1.20 where name = 'GB'; +update markets set vat = 1.25 where name = 'DK'; +update markets set vat = 1.24 where name = 'FI'; +update markets set vat = 1.25 where name = 'GLOBAL'; +update markets set vat = 1.19 where name = 'DE'; +update markets set vat = 1.21 where name = 'NL'; +update markets set vat = 1.20 where name = 'AT'; +update markets set vat = 1 where name = 'US'; +update markets set vat = 1.21 where name = 'ES'; +update markets set vat = 1.20 where name = 'FR'; +update markets set vat = 1.23 where name = 'PL'; +update markets set vat = 1.22 where name = 'IT'; + +alter table markets + alter column vat set not null;