osem-fcy/db/migrate/20170603095900_create_physical_tickets.rb
Siddhant Bajaj 5c56683ae8 Introduced Physical Ticket
Added PhysicalTicket model and controller. It holds the information about each physical ticket bought at the purchase. Physical Tickets are created after every successfull payment.
2017-06-22 19:50:55 +05:30

9 lines
208 B
Ruby

class CreatePhysicalTickets < ActiveRecord::Migration
def change
create_table :physical_tickets do |t|
t.integer :ticket_purchase_id, null: false
t.timestamps null: false
end
end
end