Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: tickets
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# price_cents :integer default(0), not null
|
||||
# price_currency :string default("USD"), not null
|
||||
# registration_ticket :boolean default(FALSE)
|
||||
# title :string not null
|
||||
# visible :boolean default(TRUE)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
#
|
||||
class Ticket < ApplicationRecord
|
||||
belongs_to :conference
|
||||
has_many :ticket_purchases, dependent: :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue