Update price adjustments (#280)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- Update price adjustments
|
||||
|
||||
delete from price_adjustments where market_id = (select id from markets where name = 'IT');
|
||||
|
||||
insert into price_adjustments (market_id, material_id, product_type, value) values
|
||||
((select id from markets where name = 'NL'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'inquiry', 1.0606),
|
||||
((select id from markets where name = 'SE'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'inquiry', 1.0508),
|
||||
((select id from markets where name = 'US'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'inquiry', 1.0714),
|
||||
((select id from markets where name = 'FR'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'inquiry', 1.0625),
|
||||
((select id from markets where name = 'SE'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'product', 1.0508),
|
||||
((select id from markets where name = 'US'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'product', 1.0714),
|
||||
((select id from markets where name = 'FR'), (select materialid from "product-materials" where material = 'standard-wallpaper'), 'product', 1.0625),
|
||||
((select id from markets where name = 'US'), (select materialid from "product-materials" where material = 'premium-wallpaper'), 'inquiry', 1.0645),
|
||||
((select id from markets where name = 'FR'), (select materialid from "product-materials" where material = 'premium-wallpaper'), 'inquiry', 1.0571),
|
||||
((select id from markets where name = 'US'), (select materialid from "product-materials" where material = 'premium-wallpaper'), 'product', 1.0645),
|
||||
((select id from markets where name = 'FR'), (select materialid from "product-materials" where material = 'premium-wallpaper'), 'product', 1.0571);
|
||||
Reference in New Issue
Block a user