diff --git a/app/models/metadata/customer_metadata.rb b/app/models/metadata/customer_metadata.rb index 07e868d888a..5304d7c6554 100644 --- a/app/models/metadata/customer_metadata.rb +++ b/app/models/metadata/customer_metadata.rb @@ -7,7 +7,7 @@ class CustomerMetadata < ApplicationRecord belongs_to :customer validates :key, presence: true, uniqueness: {scope: :customer_id}, length: {maximum: 20} - validates :value, presence: true, length: {maximum: 40} + validates :value, presence: true, length: {maximum: 100} scope :displayable, -> { where(display_in_invoice: true) } end