From 471d5700f0aefe9f352f051cce49873f6462b6c9 Mon Sep 17 00:00:00 2001 From: Fredrik Ringqvist <35255659+fredrikphotowall@users.noreply.github.com> Date: Wed, 19 Oct 2022 10:33:13 +0200 Subject: [PATCH] New price adjustment values (#298) --- migrations/000.393.sql | 80 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 migrations/000.393.sql diff --git a/migrations/000.393.sql b/migrations/000.393.sql new file mode 100644 index 0000000..3f61886 --- /dev/null +++ b/migrations/000.393.sql @@ -0,0 +1,80 @@ +TRUNCATE price_adjustments; + +INSERT INTO price_adjustments (market_id, product_type, material_id, value) VALUES + ( (select id from markets where name = 'FR'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1875 ), + ( (select id from markets where name = 'FR'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'FR'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1875 ), + ( (select id from markets where name = 'FR'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'US'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1786 ), + ( (select id from markets where name = 'US'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1613 ), + ( (select id from markets where name = 'US'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1786 ), + ( (select id from markets where name = 'US'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1613 ), + ( (select id from markets where name = 'DE'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1250 ), + ( (select id from markets where name = 'DE'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'DE'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1250 ), + ( (select id from markets where name = 'DE'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'NL'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'NL'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'NL'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'NL'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'GB'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1538 ), + ( (select id from markets where name = 'GB'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1724 ), + ( (select id from markets where name = 'GB'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1538 ), + ( (select id from markets where name = 'GB'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1724 ), + ( (select id from markets where name = 'IT'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0345 ), + ( (select id from markets where name = 'IT'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0625 ), + ( (select id from markets where name = 'IT'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0345 ), + ( (select id from markets where name = 'IT'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0625 ), + ( (select id from markets where name = 'SE'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1186 ), + ( (select id from markets where name = 'SE'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1077 ), + ( (select id from markets where name = 'SE'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1186 ), + ( (select id from markets where name = 'SE'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1077 ), + ( (select id from markets where name = 'ES'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0938 ), + ( (select id from markets where name = 'ES'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0833 ), + ( (select id from markets where name = 'ES'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0938 ), + ( (select id from markets where name = 'ES'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0833 ), + ( (select id from markets where name = 'NO'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'NO'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1075 ), + ( (select id from markets where name = 'NO'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'NO'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1075 ), + ( (select id from markets where name = 'PL'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0435 ), + ( (select id from markets where name = 'PL'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0769 ), + ( (select id from markets where name = 'PL'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0435 ), + ( (select id from markets where name = 'PL'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0769 ), + ( (select id from markets where name = 'FI'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'FI'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'FI'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'FI'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1111 ), + ( (select id from markets where name = 'CA'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1071 ), + ( (select id from markets where name = 'CA'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0968 ), + ( (select id from markets where name = 'CA'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1071 ), + ( (select id from markets where name = 'CA'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0968 ), + ( (select id from markets where name = 'AT'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0323 ), + ( (select id from markets where name = 'AT'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0588 ), + ( (select id from markets where name = 'AT'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0323 ), + ( (select id from markets where name = 'AT'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0588 ), + ( (select id from markets where name = 'DK'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0584 ), + ( (select id from markets where name = 'DK'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0596 ), + ( (select id from markets where name = 'DK'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0584 ), + ( (select id from markets where name = 'DK'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0596 ), + ( (select id from markets where name = 'BE'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0303 ), + ( (select id from markets where name = 'BE'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0556 ), + ( (select id from markets where name = 'BE'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0303 ), + ( (select id from markets where name = 'BE'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0556 ), + ( (select id from markets where name = 'AU'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0541 ), + ( (select id from markets where name = 'AU'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0732 ), + ( (select id from markets where name = 'AU'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0541 ), + ( (select id from markets where name = 'AU'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0732 ), + ( (select id from markets where name = 'CH'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1154 ), + ( (select id from markets where name = 'CH'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'CH'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.1154 ), + ( (select id from markets where name = 'CH'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.1429 ), + ( (select id from markets where name = 'IE'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0625 ), + ( (select id from markets where name = 'IE'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0857 ), + ( (select id from markets where name = 'IE'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0625 ), + ( (select id from markets where name = 'IE'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0857 ), + ( (select id from markets where name = 'GLOBAL'), 'product', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'GLOBAL'), 'product', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0811 ), + ( (select id from markets where name = 'GLOBAL'), 'inquiry', (select materialid from "product-materials" where material='standard-wallpaper'), 1.0909 ), + ( (select id from markets where name = 'GLOBAL'), 'inquiry', (select materialid from "product-materials" where material='premium-wallpaper'), 1.0811 ) +;