mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
add submission tracking events
This commit is contained in:
1 parent
62cea05084
commit
8cabe31827
15 files changed
+190
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateSubmissionEvents < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :submission_events do |t|
|
||||
t.references :submission, null: false, foreign_key: true, index: true
|
||||
t.references :submitter, null: true, foreign_key: true, index: true
|
||||
t.text :data, null: false
|
||||
t.string :event_type, null: false
|
||||
t.datetime :event_timestamp, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user