Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: physical_tickets
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# token :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# ticket_purchase_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_physical_tickets_on_token (token) UNIQUE
|
||||
#
|
||||
class PhysicalTicket < ApplicationRecord
|
||||
belongs_to :ticket_purchase
|
||||
has_one :ticket, through: :ticket_purchase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue