class SuggestUsingCorrectDbNameSolution implements Solution
8
{
9
public function getSolutionTitle(): string
10
{
11
return 'Database name seems incorrect';
12
}
13
14
public function getSolutionDescription(): string
15
{
16
$defaultDatabaseName = env('DB_DATABASE');
17
18
return "You're using the default database name `$defaultDatabaseName`. This database does not exist.\n\nEdit the `.env` file and use the correct database name in the `DB_DATABASE` key.";
19
}
20
21
public function getDocumentationLinks(): array
22
{
23
return [
24
'Database: Getting Started docs' => 'https://laravel.com/docs/master/database#configuration',