Run annotate_models

This commit is contained in:
Michael Ball 2021-02-20 09:57:27 -08:00
parent 55e853d31d
commit d7e24f6521
124 changed files with 2192 additions and 19 deletions

View file

@ -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