add webhook urls record

This commit is contained in:
Pete Matsyburka committed 2024-07-14 22:53:33 +03:00
1 parent f10e941529
commit de52f2f5e5
8 files changed
+112 -11

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ class Account < ApplicationRecord
has_many :submitters, through: :submissions
has_many :account_linked_accounts, dependent: :destroy
has_many :email_events, dependent: :destroy
has_many :webhook_urls, dependent: :destroy
has_many :account_testing_accounts, -> { testing }, dependent: :destroy,
class_name: 'AccountLinkedAccount',
inverse_of: :account