forecast_api/build/snap_fx.sql

10 lines
813 B
MySQL
Raw Normal View History

2020-04-02 10:05:14 -04:00
------------update fx rates-----------------------------------------------------------------
2021-04-06 14:28:22 -04:00
UPDATE rlarp.osmf_dev SET r_rate = .7900 WHERE r_currency = 'CA' AND version = 'b22';
2021-04-05 12:02:03 -04:00
UPDATE rlarp.osmf_dev SET r_rate = 1.0000 WHERE r_currency = 'US' AND version = 'b22';
2021-04-06 14:28:22 -04:00
UPDATE rlarp.osmf_dev SET c_rate = .7900 WHERE c_currency = 'CA' AND version = 'b22';
2021-04-05 12:02:03 -04:00
UPDATE rlarp.osmf_dev SET c_rate = 1.0000 WHERE c_currency = 'US' AND version = 'b22';
2021-04-06 14:28:22 -04:00
UPDATE rlarp.osm_pool SET r_rate = .7900 WHERE r_currency = 'CA' AND version = 'b22';
2021-04-05 12:02:03 -04:00
UPDATE rlarp.osm_pool SET value_usd = value_loc * r_rate WHERE r_currency = 'CA' AND version = 'b22';
2021-04-06 14:28:22 -04:00
UPDATE rlarp.osm_pool SET c_rate = .7900 WHERE c_currency = 'CA' AND version = 'b22';
2021-04-05 12:02:03 -04:00
UPDATE rlarp.osm_pool SET cost_usd = cost_loc * c_rate WHERE c_currency = 'CA' AND version = 'b22';