<?php

namespace Modules\MedRegistry\Database\Seeders;

use Illuminate\Database\Seeder;

/**
 * Top-level MedRegistry seeder (run by `module:seed MedRegistry` from the
 * InstallController). Catalog + business types always; demo data only outside
 * production. Mirrors VrcDatabaseSeeder.
 */
class MedRegistryDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call(MedregCatalogSeeder::class);
        $this->call(MedregBacklogStubsSeeder::class);
        $this->call(MedregBusinessTypesSeeder::class);

        if (! app()->environment('production')) {
            $this->call(MedregDemoSeeder::class);
        }
    }
}
