<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\AppSetting;

class AppSettingSeeder extends Seeder
{
    public function run(): void
    {
        AppSetting::setValue('cat.streak_up_threshold',   3, 'int');
        AppSetting::setValue('cat.streak_down_threshold', 3, 'int');
        AppSetting::setValue('cat.start_level',           5, 'int');
        AppSetting::setValue('cat.level_min',             1, 'int');
        AppSetting::setValue('cat.level_max',             9, 'int');
        AppSetting::setValue('cat.language_fallback',     true, 'bool'); // used if you want to toggle fallback
    }
}
