Skip to content

Commit

Permalink
Merge pull request #2082 from trade-tariff/HMRC-556-Exchange-Rates-Ch…
Browse files Browse the repository at this point in the history
…ange-Venezuela-s-Currency-from-VEF-to-VED

HMRC-556 Move VE from VEF to VED currency
  • Loading branch information
neilmiddleton authored Jan 20, 2025
2 parents c939ce5 + 9bcb9c3 commit 3be025b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/migrate/20250120112727_update_currency_vef_to_ved.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# frozen_string_literal: true

Sequel.migration do
change do
Sequel::Model.db.run "INSERT INTO exchange_rate_currencies (currency_code, currency_description, spot_rate_required) VALUES ('VED', 'Bolivar Fuerte', true)"

ExchangeRateCountryCurrency.where(currency_code: 'VEF').update(validity_end_date: Date.new(2025, 1, 15))
ExchangeRateCountryCurrency.create(
currency_code: 'VED',
country_code: 'VE',
country_description: 'Venezuela',
currency_description: 'Venezuelan Bolívar',
validity_start_date: Date.new(2025, 1, 22),
)
end
end

0 comments on commit 3be025b

Please sign in to comment.