add payment mode to conferences schema

This commit is contained in:
Rishabh Saxena 2016-05-31 21:25:29 +05:30
parent 301ad1c722
commit f14d470738
5 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddPaymentMethodToConferences < ActiveRecord::Migration
def change
add_column :conferences, :payment_method, :string, default: 'offline', null: false
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160427104236) do
ActiveRecord::Schema.define(version: 20160603043546) do
create_table "ahoy_events", force: :cascade do |t|
t.uuid "visit_id", limit: 16
@ -102,6 +102,7 @@ ActiveRecord::Schema.define(version: 20160427104236) do
t.text "description"
t.integer "registration_limit", default: 0
t.string "picture"
t.string "payment_method", default: "offline", null: false
end
create_table "conferences_questions", id: false, force: :cascade do |t|