<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    public function run()
    {
        $this->call([
            RolesAndPermissionsSeeder::class, // This must run FIRST
            AdminUserSeeder::class,           // Then this
            EventSeeder::class,
            TicketSeeder::class,
            ContactsSeeder::class,
            MessageTemplateSeeder::class,
            TxnLogSeeder::class,
        ]);
    }
}