mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 15:52:32 -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
@@ -43,7 +43,7 @@ class Submitter < ApplicationRecord
|
||||
belongs_to :submission
|
||||
belongs_to :account
|
||||
has_one :template, through: :submission
|
||||
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?
|
||||
|
||||
attribute :values, :string, default: -> { {} }
|
||||
attribute :preferences, :string, default: -> { {} }
|
||||
|
||||
Reference in new issue
Block a user