Fix database naming conventions; closes #2404
This commit is contained in:
parent
6a4914df3b
commit
c0fc9125ed
4 changed files with 9 additions and 6 deletions
|
@ -22,7 +22,7 @@ class StoreDatabaseRequest extends ClientApiRequest implements ClientPermissions
|
|||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'database' => 'required|alpha_dash|min:1|max:100',
|
||||
'database' => 'required|alpha_dash|min:3|max:48',
|
||||
'remote' => 'required|string|regex:/^[0-9%.]{1,15}$/',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue