Skip to content

Commit

Permalink
Add supplier_categories to BankAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
paroga committed Feb 18, 2022
1 parent 8f92915 commit cdc9e91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/bank_account.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cdc9e91

Please sign in to comment.