add submission tracking events

This commit is contained in:
Alex Turchyn
2023-09-10 12:55:41 +03:00
parent 62cea05084
commit 8cabe31827
15 changed files with 190 additions and 4 deletions
+1
View File
@@ -32,6 +32,7 @@ class Submission < ApplicationRecord
belongs_to :created_by_user, class_name: 'User', optional: true
has_many :submitters, dependent: :destroy
has_many :submission_events, dependent: :destroy
serialize :template_fields, JSON
serialize :template_schema, JSON