Replace all instances of 255 as a max length with 191; ref #2421
This commit is contained in:
parent
4f21fa85f8
commit
cc6f98c0fd
24 changed files with 41 additions and 38 deletions
|
@ -50,7 +50,7 @@ class DatabaseHost extends Model
|
|||
* @var array
|
||||
*/
|
||||
public static $validationRules = [
|
||||
'name' => 'required|string|max:255',
|
||||
'name' => 'required|string|max:191',
|
||||
'host' => 'required|string',
|
||||
'port' => 'required|numeric|between:1,65535',
|
||||
'username' => 'required|string|max:32',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue