mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
fix dashes on the name and better error handling (#336)
This commit is contained in:
@ -53,7 +53,7 @@ public static function rules(Server $server, array $input): array
|
||||
{
|
||||
return [
|
||||
'databases.*' => [
|
||||
'required',
|
||||
'nullable',
|
||||
Rule::exists('databases', 'name')->where('server_id', $server->id),
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user