mirror of
https://github.com/docusealco/docuseal
synced 2026-11-11 23:42:32 -05:00
fix relation
This commit is contained in:
1 parent
5d75ee2e47
commit
9a8b72883c
1 file changed
+1
-1
@@ -30,5 +30,5 @@ class CompletedSubmitter < ApplicationRecord
|
|||||||
has_many :completed_documents, dependent: :destroy,
|
has_many :completed_documents, dependent: :destroy,
|
||||||
primary_key: :submitter_id,
|
primary_key: :submitter_id,
|
||||||
foreign_key: :submitter_id,
|
foreign_key: :submitter_id,
|
||||||
inverse_of: :submitter
|
inverse_of: :completed_submitter
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user