Fix #1236 Increase max length of UserInviteRequest.text from 420 to 5000
This commit is contained in:
parent
9a63ac6062
commit
5ee505d42e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue