mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Amount paid colum is added to ticket purchase to keep the record of money paid by the user. It is added to physical_ticket#index to show admin, price paid by each user for each ticket.
5 lines
153 B
Ruby
5 lines
153 B
Ruby
class AddAmountPaidToTicketPurchases < ActiveRecord::Migration
|
|
def change
|
|
add_column :ticket_purchases, :amount_paid, :float, default: 0
|
|
end
|
|
end
|