add webhook settings

This commit is contained in:
Alex Turchyn committed 2023-08-08 23:28:25 +03:00
1 parent 8929adbe83
commit e4bb5466f5
15 files changed
+198 -18

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ class Account < ApplicationRecord
has_many :users, dependent: :destroy
has_many :encrypted_configs, dependent: :destroy
has_many :templates, dependent: :destroy
has_many :submissions, through: :templates
has_many :submitters, through: :submissions
has_many :active_users, -> { active }, dependent: :destroy,
inverse_of: :account, class_name: 'User'