Files
star-cloud/database/seeders/DatabaseSeeder.php
sky121113 7db3ee3a05
All checks were successful
Star-Cloud-Deploy-System / deploy-demo (push) Successful in 39s
Star-Cloud-Deploy-System / deploy-production (push) Has been skipped
feat: 分離 AdminUserSeeder 並重構 DatabaseSeeder 支援單獨執行
2026-01-12 13:04:59 +08:00

23 lines
470 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,
]);
}
}