Added price currency to conference, select currency in basic info and created data rake task for setting old conferences' price currency

This commit is contained in:
Edward Phillips 2019-07-13 21:39:47 +02:00
parent 9b12830c8f
commit 17488e11c7
8 changed files with 398 additions and 355 deletions

View file

@ -0,0 +1,5 @@
class AddPriceCurrencyToConferences < ActiveRecord::Migration[5.1]
def change
add_column :conferences, :price_currency, :string, default: "USD"
end
end