shared link true default

This commit is contained in:
Pete Matsyburka
2025-06-01 13:21:11 +03:00
parent 24d713dec6
commit e41fe5fbca
2 changed files with 18 additions and 17 deletions
+1
View File
@@ -46,6 +46,7 @@ class Template < ApplicationRecord
attribute :preferences, :string, default: -> { {} }
attribute :fields, :string, default: -> { [] }
attribute :shared_link, :boolean, default: true
attribute :schema, :string, default: -> { [] }
attribute :submitters, :string, default: -> { [{ name: I18n.t(:first_party), uuid: SecureRandom.uuid }] }
attribute :slug, :string, default: -> { SecureRandom.base58(14) }