Added registration-ticket

Added registration type tickets that will used in the check-in process
This commit is contained in:
siddhantbajaj 2017-08-07 15:10:06 +05:30
parent 9b7562fe2e
commit f31651ad9c
5 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class AddRegistrationTicketToTickets < ActiveRecord::Migration
def change
add_column :tickets, :registration_ticket, :boolean, default: 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: 20170721001700) do
ActiveRecord::Schema.define(version: 20170807092805) do
create_table "ahoy_events", force: :cascade do |t|
t.integer "visit_id"
@ -507,6 +507,7 @@ ActiveRecord::Schema.define(version: 20170721001700) do
t.text "description"
t.integer "price_cents", default: 0, null: false
t.string "price_currency", default: "USD", null: false
t.boolean "registration_ticket", default: false
end
create_table "tracks", force: :cascade do |t|