mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
populate columns
This commit is contained in:
1 parent
180c542a9f
commit
7ed27bb413
2 files changed
+22
No files matched your search
@@ -20,4 +20,10 @@ module SubmissionEvents
|
||||
**data
|
||||
}.compact_blank)
|
||||
end
|
||||
|
||||
def populate_account_id
|
||||
Account.find_each do |account|
|
||||
SubmissionEvent.where(submission_id: account.submissions).in_batches.update_all(account_id: account.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user