chore: update seeders, add MockDataSeeder and AssignAllPermissions command
- DatabaseSeeder: replace old seeders with MockDataSeeder - RolesSeeder: update role definitions - Add AssignAllPermissions artisan command - Register MockDataSeeder in AppServiceProvider - Register command in ConsoleKernel
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Ship\Kernels;
|
||||
use AlxDorosenco\PortoForLaravel\Loaders\CommandsLoader;
|
||||
use AlxDorosenco\PortoForLaravel\Loaders\RoutesLoader;
|
||||
use App\Containers\Dashboard\Commands\FetchEmailNewsCommand;
|
||||
use App\Ship\Commands\AssignAllPermissions;
|
||||
use App\Ship\Commands\InitRoles;
|
||||
use App\Ship\Commands\SyncDashboardPermissions;
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
@@ -33,6 +34,7 @@ class ConsoleKernel extends LaravelConsoleKernel
|
||||
}
|
||||
|
||||
protected $commands = [
|
||||
AssignAllPermissions::class,
|
||||
InitRoles::class,
|
||||
FetchEmailNewsCommand::class,
|
||||
SyncDashboardPermissions::class,
|
||||
|
||||
Reference in New Issue
Block a user