Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+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;