diff --git a/cli.php b/cli.php index b1c8d4b..517508e 100644 --- a/cli.php +++ b/cli.php @@ -18,6 +18,8 @@ if (file_exists($localEnv)) { $dotenv->load(); } +require_once __DIR__ . '/database/seeds/DatabaseSeeder.php'; + use App\Core\Container; use App\Services\Database\Connection; use App\Services\Database\MigrationRunner; diff --git a/composer.json b/composer.json index a6d99a3..e957276 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,8 @@ }, "autoload": { "psr-4": { - "App\\": "app/" + "App\\": "app/", + "Database\\": "database/" } }, "config": {