<?php

declare(strict_types=1);

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

/**
 * Seeds only what the application needs in order to run.
 *
 * This is safe to run on production — it is part of the deploy procedure —
 * which is exactly why it never creates sample or demo data.
 *
 * The first master account is deliberately NOT seeded. Seeding a login with a
 * known password is how internal tools end up with a live `admin@example.com`.
 * Create it explicitly instead:
 *
 *     php artisan ams:create-master-user
 */
class DatabaseSeeder extends Seeder
{
    use WithoutModelEvents;

    public function run(): void
    {
        $this->call([
            SettingSeeder::class,
        ]);
    }
}
