mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 05:01:06 -08:00
cleanup validation rules a little
This commit is contained in:
parent
5b77e66d28
commit
4aae82fa38
|
@ -106,11 +106,11 @@ class Asset extends Depreciable
|
|||
'supplier_id' => 'exists:suppliers,id|nullable',
|
||||
'asset_eol_date' => 'date|nullable',
|
||||
'eol_explicit' => 'boolean|nullable',
|
||||
'byod' => 'boolean',
|
||||
'order_number' => 'max:255|nullable',
|
||||
'notes' => 'max:65535|nullable',
|
||||
'assigned_to' => 'nullable|integer|exists:users,id',
|
||||
'requestable' => 'boolean',
|
||||
'byod' => 'nullable|boolean',
|
||||
'order_number' => 'string|max:191|nullable',
|
||||
'notes' => 'string|max:65535|nullable',
|
||||
'assigned_to' => 'integer|exists:users,id|nullable',
|
||||
'requestable' => 'boolean|nullable',
|
||||
];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue