44 lines
1.0 KiB
PHP
44 lines
1.0 KiB
PHP
<?php namespace Database\Seeders;
|
|
/**
|
|
* @copyright (c) 2025 Notsoweb Software (https://notsoweb.com) - All Rights Reserved
|
|
*/
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
/**
|
|
* Seeder de desarrollo
|
|
*
|
|
* @author Moisés Cortés C. <moises.cortes@notsoweb.com>
|
|
*
|
|
* @version 1.0.0
|
|
*/
|
|
class DevSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$this->call(RoleSeeder::class);
|
|
$this->call(UserSeeder::class);
|
|
$this->call(SettingSeeder::class);
|
|
|
|
// Nivel 1 - Sin dependencias
|
|
$this->call(ModuleSeeder::class);
|
|
$this->call(OwnerSeeder::class);
|
|
$this->call(ErrorSeeder::class);
|
|
|
|
// Nivel 2 - Dependen de Nivel 1
|
|
$this->call(PackageSeeder::class);
|
|
$this->call(VehicleSeeder::class);
|
|
|
|
// Nivel 3 - Dependen de Nivel 2
|
|
$this->call(TagSeeder::class);
|
|
$this->call(RecordSeeder::class);
|
|
|
|
// Nivel 4 - Dependen de Nivel 3
|
|
$this->call(FileSeeder::class);
|
|
$this->call(DeviceSeeder::class);
|
|
}
|
|
}
|