Sha256: 458a03d1c93e61d64ae00bbc8d21b0ca9a11024ee04ee1040acd34602c0ec6dd

Contents?: true

Size: 199 Bytes

Versions: 15

Compression:

Stored size: 199 Bytes

Contents

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

15 entries across 15 versions & 1 rubygems

Version Path
erp_base_erp_svcs-4.0.0 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.5 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.4 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.3 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.2 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.1 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.7 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.1.0 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.6 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.5 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.4 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.3 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.2 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.1 db/data_migrations/20110525001935_add_usd_currency.rb
erp_base_erp_svcs-3.0.0 db/data_migrations/20110525001935_add_usd_currency.rb