Added TicketScanning Model
This commit is contained in:
parent
93d5e360ca
commit
c066aadae2
4 changed files with 20 additions and 1 deletions
|
|
@ -3,4 +3,5 @@ class PhysicalTicket < ActiveRecord::Base
|
|||
has_one :ticket, through: :ticket_purchase
|
||||
has_one :conference, through: :ticket_purchase
|
||||
has_one :user, through: :ticket_purchase
|
||||
has_many :ticket_scannings
|
||||
end
|
||||
|
|
|
|||
3
app/models/ticket_scanning.rb
Normal file
3
app/models/ticket_scanning.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
class TicketScanning < ActiveRecord::Base
|
||||
belongs_to :physical_ticket
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue