<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        if (app()->environment(['staging', 'production'])) {
            $this->call([
                RolePermissionSeeder::class,
                OutletSeeder::class,
                UserSeeder::class,
                TierSeeder::class,
            ]);
        } else {
            $this->call([
                RolePermissionSeeder::class,
                OutletSeeder::class,
                UserSeeder::class,
                TierSeeder::class,
                VoucherSeeder::class,
                CategorySeeder::class,
                BrandSeeder::class,
                CustomerSeeder::class,
                PerfumeSeeder::class,
                ProductSeeder::class,
                BottleSeeder::class,
                FormulaSeeder::class,
                FaqSeeder::class,
                PerfumeFeatureSeeder::class,
                ChooseUsSeeder::class,
            ]);
        }
    }
}
