<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder {
    /**
     * Seed the application's database.
     */
    public function run(): void {
        $this->call([
            SolicitorSeeder::class,
            DocumentTypeSeeder::class,
            PhoneNumberTypeSeeder::class,
            ClaimStatusSeeder::class,
            InstitutionTypeSeeder::class,
            DsarTypeSeeder::class,
            PermissionSeeder::class,
            RoleSeeder::class,
            UserSeeder::class,
            ApiScopeSeeder::class,
            KeyDateSeeder::class,
            OptInSeeder::class,
            ContactTemplateSeeder::class,
            ScotlandAreasSeeder::class,
        ]);

        if(app()->isLocal()) {
            $this->call([
                LeadSourceSeeder::class,
                LeadSourceEndpointSeeder::class,
                InstitutionSeeder::class,
                ClientSeeder::class,

            ]);
        }
    }
}
