internetee-registry/db/migrate/20150416080828_add_currency_to_account.rb
2015-04-16 11:46:18 +03:00

7 lines
162 B
Ruby

class AddCurrencyToAccount < ActiveRecord::Migration
def change
add_column :accounts, :currency, :string
Account.update_all(currency: 'EUR')
end
end