Files
database/migrations/000.284.sql
T

23 lines
830 B
SQL

-- 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;