Add supplier_categories to BankAccount
This commit is contained in:
parent
8f92915818
commit
cdc9e91d26
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
class BankAccount < ApplicationRecord
|
||||
has_many :bank_transactions, dependent: :destroy
|
||||
has_many :supplier_categories, dependent: :nullify
|
||||
belongs_to :bank_gateway, optional: true
|
||||
|
||||
normalize_attributes :name, :iban, :description
|
||||
|
|
Loading…
Reference in a new issue