mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 12:04:39 +08:00
validation requires nullable now in order to allow null values to pass the validation
This commit is contained in:
parent
25154dabff
commit
419adb748b
|
@ -147,8 +147,8 @@ class InstallCommand extends AbstractCommand
|
|||
'host' => 'required',
|
||||
'database' => 'required|string',
|
||||
'username' => 'required|string',
|
||||
'prefix' => 'alpha_dash|max:10',
|
||||
'port' => 'integer|min:1|max:65535',
|
||||
'prefix' => 'nullable|alpha_dash|max:10',
|
||||
'port' => 'nullable|integer|min:1|max:65535',
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user