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_search-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_rules-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_invoicing-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_forms-2.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_financial_accounting-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_communication_events-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
compass_ae_console-2.0.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_work_effort-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_inventory-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_commerce-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_txns_and_accts-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_orders-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_products-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_agreements-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_app-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_tech_svcs-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
erp_base_erp_svcs-3.1.0 spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb