P5-6493 add vat to markets (#168)

This commit is contained in:
Martin Carlsson
2021-01-14 08:10:40 +01:00
committed by GitHub
parent dfd61ef06f
commit 7a7440aab8
+22
View File
@@ -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;