mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
add is first to completed submitters
This commit is contained in:
1 parent
1a68053f4e
commit
3102900776
3 files changed
+21
-3
No files matched your search
@@ -6,6 +6,7 @@
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# completed_at :datetime not null
|
||||
# is_first :boolean
|
||||
# sms_count :integer not null
|
||||
# source :string not null
|
||||
# verification_method :string
|
||||
@@ -18,8 +19,10 @@
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_completed_submitters_on_account_id (account_id)
|
||||
# index_completed_submitters_on_submitter_id (submitter_id) UNIQUE
|
||||
# index_completed_submitters_on_account_id (account_id)
|
||||
# index_completed_submitters_on_account_id_and_completed_at (account_id,completed_at) WHERE (is_first = true)
|
||||
# index_completed_submitters_on_submission_id (submission_id) UNIQUE WHERE (is_first = true)
|
||||
# index_completed_submitters_on_submitter_id (submitter_id) UNIQUE
|
||||
#
|
||||
class CompletedSubmitter < ApplicationRecord
|
||||
belongs_to :submitter
|
||||
|
||||
Reference in new issue
Block a user