<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * Order is important:
     * 1. RolesAndPermissionsSeeder - Create roles and permissions
     * 2. UsersSeeder - Create test users and assign roles
     */
    public function run(): void
    {
        $this->call([
            RolesAndPermissionsSeeder::class,
            UsersSeeder::class,
            ForumsSeeder::class,
        ]);
    }
}
