mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
upload template from URL
This commit is contained in:
1 parent
b48615df3f
commit
ddb557ebef
10 files changed
+96
-19
No files matched your search
@@ -20,7 +20,7 @@ class AddFolderIdToTemplates < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
add_reference :templates, :folder, foreign_key: { to_table: :template_folders }, index: true, null: true
|
||||
|
||||
MigrationAccount.all.pluck(:id).each do |account_id|
|
||||
MigrationAccount.pluck(:id).each do |account_id|
|
||||
author_id = MigrationUser.where(account_id:).minimum(:id)
|
||||
|
||||
next if author_id.blank?
|
||||
|
||||
Reference in new issue
Block a user