Gab Social. All are welcome.

This commit is contained in:
robcolbert
2019-07-02 03:10:25 -04:00
commit bd0b5afc92
5366 changed files with 222812 additions and 0 deletions

18
app/models/transaction.rb Normal file
View File

@@ -0,0 +1,18 @@
# == Schema Information
#
# Table name: transactions
#
# id :bigint(8) not null, primary key
# created_at :datetime not null
# updated_at :datetime not null
# account_id :integer not null
# payment_type :string
# provider_type :string
# provider_response :text
# amount :integer not null
# success :boolean default(FALSE), not null
#
class Transaction < ApplicationRecord
belongs_to :account, inverse_of: :transactions
end