mirror of
https://github.com/docusealco/docuseal
synced 2026-11-15 08:02:33 -05:00
fix sqlite remove template
This commit is contained in:
1 parent
10e4476f4a
commit
d0ac4ad222
3 files changed
+3
-3
No files matched your search
@@ -40,7 +40,7 @@ class Submission < ApplicationRecord
|
||||
belongs_to :account
|
||||
belongs_to :created_by_user, class_name: 'User', optional: true
|
||||
|
||||
has_one :search_entry, as: :record, inverse_of: :record, dependent: :destroy
|
||||
has_one :search_entry, as: :record, inverse_of: :record, dependent: :destroy if SearchEntry.table_exists?
|
||||
|
||||
has_many :submitters, dependent: :destroy
|
||||
has_many :submission_events, dependent: :destroy
|
||||
|
||||
Reference in new issue
Block a user