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: payments
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# amount :integer
|
||||
# authorization_code :string
|
||||
# last4 :string
|
||||
# status :integer default("unpaid"), not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# conference_id :integer not null
|
||||
# user_id :integer not null
|
||||
#
|
||||
class Payment < ApplicationRecord
|
||||
has_many :ticket_purchases
|
||||
belongs_to :user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue