Fix data integrity exception, closes #922
This commit is contained in:
parent
e1d6980c0b
commit
cfb7415e2a
4 changed files with 116 additions and 5 deletions
|
@ -49,6 +49,10 @@ class StoreServerRequest extends ApplicationApiRequest
|
|||
'limits.io' => $rules['io'],
|
||||
'limits.cpu' => $rules['cpu'],
|
||||
|
||||
// Placeholders for rules added in withValidator() function.
|
||||
'allocation.default' => '',
|
||||
'allocation.additional.*' => '',
|
||||
|
||||
// Automatic deployment rules
|
||||
'deploy' => 'sometimes|required|array',
|
||||
'deploy.locations' => 'array',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue