mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
Compare commits
1
Commits
44dcc7f312
...
0.0.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fbc81fae2 |
No files matched your search
@@ -32,7 +32,7 @@ class Submitter < ApplicationRecord
|
||||
belongs_to :submission
|
||||
|
||||
attribute :values, :string, default: -> { {} }
|
||||
attribute :slug, :string, default: -> { SecureRandom.base58(8) }
|
||||
attribute :slug, :string, default: -> { SecureRandom.base58(10) }
|
||||
|
||||
serialize :values, JSON
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class Template < ApplicationRecord
|
||||
attribute :fields, :string, default: -> { [] }
|
||||
attribute :schema, :string, default: -> { [] }
|
||||
attribute :submitters, :string, default: -> { [{ name: DEFAULT_SUBMITTER_NAME, uuid: SecureRandom.uuid }] }
|
||||
attribute :slug, :string, default: -> { SecureRandom.base58(8) }
|
||||
attribute :slug, :string, default: -> { SecureRandom.base58(10) }
|
||||
|
||||
serialize :fields, JSON
|
||||
serialize :schema, JSON
|
||||
|
||||
Reference in new issue
Block a user