Files
star-cloud/database/seeders/DatabaseSeeder.php
sky121113 56c9a55944
Some checks failed
star-cloud-deploy-demo / deploy-demo (push) Has been cancelled
fix: 將 MachineSeeder 加入主 Seeder 以支援自動部署填充
2026-03-09 09:45:50 +08:00

24 lines
504 B
PHP
Raw 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([
AdminUserSeeder::class,
MachineSeeder::class,
]);
}
}