mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Fixes #825
This commit is contained in:
@@ -133,7 +133,8 @@ class InstallCommand extends AbstractCommand
|
||||
'host' => 'required',
|
||||
'database' => 'required|string',
|
||||
'username' => 'required|string',
|
||||
'prefix' => 'alpha_dash|max:10'
|
||||
'prefix' => 'alpha_dash|max:10',
|
||||
'port' => 'required|integer|min:1|max:65535',
|
||||
]
|
||||
);
|
||||
|
||||
@@ -203,6 +204,7 @@ class InstallCommand extends AbstractCommand
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => $dbConfig['prefix'],
|
||||
'port' => $dbConfig['port'],
|
||||
'strict' => false
|
||||
],
|
||||
'url' => $this->baseUrl,
|
||||
|
Reference in New Issue
Block a user