<?php

namespace Database\Seeders;

use App\Models\ORM\ContactRole;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    use WithoutModelEvents;

    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // User::factory(10)->create();

        ContactRole::insert([
            [ 'name' => 'tech', 'description' => 'Технические вопросы' ],
            [ 'name' => 'org', 'description' => 'Организация концертов' ]
        ]);

        $this->call([
            UserSeeder::class,
            EventSeeder::class,
            PlaceSeeder::class,
            PerformerSeeder::class,
            TrackSeeder::class
        ]);
    }
}
