update fx rates

This commit is contained in:
Paul Trowbridge 2020-04-02 10:05:14 -04:00
parent 9539b99301
commit 28214bece7

View File

@ -1,27 +1,7 @@
UPDATE ------------update fx rates-----------------------------------------------------------------
rlarp.osmf_dev UPDATE rlarp.osmf_dev SET r_rate = .7518 WHERE r_currency = 'CA'
SET UPDATE rlarp.osmf_dev SET c_rate = .7518 WHERE c_currency = 'CA'
r_rate = .7597 UPDATE rlarp.osm_pool SET r_rate = .7518 WHERE r_currency = 'CA'
WHERE UPDATE rlarp.osm_pool SET value_usd = value_loc * r_rate WHERE r_currency = 'CA'
r_currency = 'CA'; UPDATE rlarp.osm_pool SET c_rate = .7518 WHERE c_currency = 'CA'
UPDATE rlarp.osm_pool SET cost_usd = cost_loc * c_rate WHERE c_currency = 'CA'
UPDATE
rlarp.osmf_dev
SET
r_rate = 1
WHERE
r_currency = 'US';
UPDATE
rlarp.osmf_dev
SET
c_rate = .7597
WHERE
c_currency = 'CA';
UPDATE
rlarp.osmf_dev
SET
c_rate = 1
WHERE
c_currency = 'US';