Merge pull request #1242 from nileshtrivedi/increase_length_for_why_join_field

Fix #1236 Increase max length of UserInviteRequest.text from 420 to 5000
This commit is contained in:
Darius Kazemi 2022-12-12 15:48:00 -08:00 committed by GitHub
commit ab37360d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@
class UserInviteRequest < ApplicationRecord class UserInviteRequest < ApplicationRecord
belongs_to :user, inverse_of: :invite_request belongs_to :user, inverse_of: :invite_request
validates :text, presence: true, length: { maximum: 420 } validates :text, presence: true, length: { maximum: 5000 }
end end