Adopt model to reference GroupOrder in generated FinancialTransaction
This commit is contained in:
parent
b6542fb711
commit
17059a8104
7 changed files with 17 additions and 5 deletions
|
|
@ -5,6 +5,7 @@ class FinancialTransaction < ApplicationRecord
|
|||
belongs_to :user
|
||||
belongs_to :financial_link
|
||||
belongs_to :financial_transaction_type
|
||||
belongs_to :group_order
|
||||
belongs_to :reverts, class_name: 'FinancialTransaction', foreign_key: 'reverts_id'
|
||||
has_one :reverted_by, class_name: 'FinancialTransaction', foreign_key: 'reverts_id'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue