Skip to content

Database [tenant] not configured #2

@meneva

Description

@meneva

Hello, while I am trying to type: php artisan migrate --seed
it shows me the following error:

Seeding: ProjectTableSeeder

InvalidArgumentException : Database [tenant] not configured.

at D:\xampp\htdocs\laravel_multitenant\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php:140
136| // If the configuration doesn't exist, we'll throw an exception and bail.
137| $connections = $this->app['config']['database.connections'];
138|
139| if (is_null($config = Arr::get($connections, $name))) {

140| throw new InvalidArgumentException("Database [{$name}] not configured.");
141| }
142|
143| return $config;
144| }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions