mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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.
9 lines
208 B
Ruby
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
|