Files
star-cloud/database/seeders/DatabaseSeeder.php
2026-03-13 17:35:22 +08:00

26 lines
568 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace Database\Seeders;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* 執行全部 Seederphp artisan db:seed
* 執行單一 Seederphp artisan db:seed --class=AdminUserSeeder
*/
public function run(): void
{
$this->call([
RoleSeeder::class,
AdminUserSeeder::class,
MachineSeeder::class,
MemberSeeder::class,
]);
}
}