mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
add audit trail
This commit is contained in:
1 parent
8cabe31827
commit
cf6cacdc92
11 files changed
+296
-15
No files matched your search
@@ -41,6 +41,8 @@ class Submission < ApplicationRecord
|
||||
attribute :source, :string, default: 'link'
|
||||
attribute :submitters_order, :string, default: 'random'
|
||||
|
||||
has_one_attached :audit_trail
|
||||
|
||||
has_many :template_schema_documents,
|
||||
->(e) { where(uuid: (e.template_schema.presence || e.template.schema).pluck('attachment_uuid')) },
|
||||
through: :template, source: :documents_attachments
|
||||
|
||||
Reference in new issue
Block a user