23 lines
602 B
Ruby
23 lines
602 B
Ruby
# 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
|
|
#
|
|
FactoryBot.define do
|
|
factory :payment do
|
|
user
|
|
conference
|
|
status { 'unpaid' }
|
|
end
|
|
end
|