<?php

namespace Database\Seeders\Tenant;

use App\Facades\Settings;
use Illuminate\Database\Seeder;

class SeoSitemapQueryParamFiltersSeeder extends Seeder
{
    public function run(): void
    {
        Settings::make([
            'tab' => 'Site',
            'section' => 'SEO',
            'group' => 'Sitemap',
            'name' => 'SRP query parameter filters',
            'config_key' => 'seo-sitemap-srp-query-param-filters',
            'type' => 'text',
            'value' => '',
            'description' => 'Filter types whose discrete values should be appended to SRP URLs as '
                . 'query parameters (e.g. body_type, fuel_type, colour). One filter type key per line. '
                . 'Only applied when search facets are not enabled. Make and model are excluded as '
                . 'they already form the SRP path hierarchy.',
            'order' => 6,
        ]);
    }
}
