parent
91ea0a4f41
commit
57987c0f79
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Allocation extends Model
|
||||||
public static $validationRules = [
|
public static $validationRules = [
|
||||||
'node_id' => 'required|exists:nodes,id',
|
'node_id' => 'required|exists:nodes,id',
|
||||||
'ip' => 'required|ip',
|
'ip' => 'required|ip',
|
||||||
'port' => 'required|numeric|between:1024,65553',
|
'port' => 'required|numeric|between:1024,65535',
|
||||||
'ip_alias' => 'nullable|string',
|
'ip_alias' => 'nullable|string',
|
||||||
'server_id' => 'nullable|exists:servers,id',
|
'server_id' => 'nullable|exists:servers,id',
|
||||||
'notes' => 'nullable|string|max:256',
|
'notes' => 'nullable|string|max:256',
|
||||||
|
|
Loading…
Reference in a new issue