This commit is contained in:
Pete Matsyburka authored and Oleksandr Turchyn committed 2024-09-30 12:13:07 +03:00
1 parent c7b08e8d30
commit 37bb987e3e
14 files changed
+90 -42

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ class Template < ApplicationRecord
attribute :preferences, :string, default: -> { {} }
attribute :fields, :string, default: -> { [] }
attribute :schema, :string, default: -> { [] }
attribute :submitters, :string, default: -> { [{ name: DEFAULT_SUBMITTER_NAME, uuid: SecureRandom.uuid }] }
attribute :submitters, :string, default: -> { [{ name: I18n.t(:first_party), uuid: SecureRandom.uuid }] }
attribute :slug, :string, default: -> { SecureRandom.base58(14) }
attribute :source, :string, default: 'native'