Skip to content

Commit cdc9e91

Browse files
committed
Add supplier_categories to BankAccount
1 parent 8f92915 commit cdc9e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/models/bank_account.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
class BankAccount < ApplicationRecord
22
has_many :bank_transactions, dependent: :destroy
3+
has_many :supplier_categories, dependent: :nullify
34
belongs_to :bank_gateway, optional: true
45

56
normalize_attributes :name, :iban, :description

0 commit comments

Comments
 (0)