Fix empty server descriptions throwing SQL errors, closes #842
This commit is contained in:
parent
4457634127
commit
958c29cfbf
3 changed files with 6 additions and 5 deletions
|
@ -76,7 +76,7 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
|||
'owner_id' => 'exists:users,id',
|
||||
'name' => 'regex:/^([\w .-]{1,200})$/',
|
||||
'node_id' => 'exists:nodes,id',
|
||||
'description' => 'nullable|string',
|
||||
'description' => 'string',
|
||||
'memory' => 'numeric|min:0',
|
||||
'swap' => 'numeric|min:-1',
|
||||
'io' => 'numeric|between:10,1000',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue