Sha256: 8077fed1da67c35f47255ffc20c9d680a1a6875b133fd521a0fd1d62a7a7c464

Contents?: true

Size: 273 Bytes

Versions: 57

Compression:

Stored size: 273 Bytes

Contents

# This migration comes from erp_base_erp_svcs (originally 20110525001935)
class AddUsdCurrency
  
  def self.up
    Currency.create(:name => 'US Dollar', :internal_identifier => 'USD', :major_unit_symbol => "$")
  end
  
  def self.down
    Currency.usd.destroy
  end

end

Version data entries

57 entries across 57 versions & 19 rubygems

Version Path
erp_tech_svcs-3.1.8 spec/dummy/db/data_migrations/20130220143304_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.14 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.13 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_forms-3.1.1 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.14 spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.12 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_orders-3.1.1 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_work_effort-3.1.1 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_tech_svcs-3.1.5 spec/dummy/db/data_migrations/20130220143304_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.12 spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
erp_base_erp_svcs-3.1.5 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.9 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.8 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_tech_svcs-3.1.4 spec/dummy/db/data_migrations/20130220143304_add_usd_currency.erp_base_erp_svcs.rb
erp_forms-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_base_erp_svcs-3.1.4 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.10 spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.9 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.8 spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
knitkit-2.1.7 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb