about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-02-10 15:07:48 -0600
committerStarfall <us@starfall.systems>2022-02-10 15:07:48 -0600
commit169688aa9f2a69ac3d36332c833e9cad43b5f7a5 (patch)
tree79340cc3181308e20b654a2db94f1f3f6ceea73c
parent75f9c15f555104f04f4230b2f426550e0953de5b (diff)
increase maximum length of report notes to 2000 characters
-rw-r--r--app/models/report_note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/report_note.rb b/app/models/report_note.rb
index 6d7167e0e..6f39df623 100644
--- a/app/models/report_note.rb
+++ b/app/models/report_note.rb
@@ -17,5 +17,5 @@ class ReportNote < ApplicationRecord
 
   scope :latest, -> { reorder(created_at: :desc) }
 
-  validates :content, presence: true, length: { maximum: 500 }
+  validates :content, presence: true, length: { maximum: 2000 }
 end