From d8e836980ab4b01ea88443c60633b9bde6facca5 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Tue, 12 Oct 2021 22:46:43 +0100 Subject: [PATCH] Move seeder to right place --- composer.json | 9 +++++---- database/seeders/DatabaseSeeder.php | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index bf90ae1..85eeb76 100644 --- a/composer.json +++ b/composer.json @@ -48,10 +48,11 @@ }, "autoload": { "psr-4": { - "App\\": "app/" - }, - "Database\\Factories\\": "database/factories/", - "Database\\Seeders\\": "database/seeders/" + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" + } + }, "autoload-dev": { "psr-4": { diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index c70a928..8fd1b20 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -16,5 +16,6 @@ class DatabaseSeeder extends Seeder $this->call(\Database\Seeders\PermissionSeeder::class); $this->call(\Database\Seeders\UserSeeder::class); $this->call(\Database\Seeders\DefaultOptionsSeeder::class); + $this->call(\Database\Seeders\NewPermissions::class); } }