houdini/db/migrate/20171002164402_add_currency_to_nonprofit.rb

5 lines
165 B
Ruby

class AddCurrencyToNonprofit < ActiveRecord::Migration
def change
add_column :nonprofits, :currency, :string, default: Settings.intntl.currencies[0]
end
end