<?php

namespace Database\Seeders\Tenant;

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

class SeoSitemapSearchFacetsSettingSeeder extends Seeder
{
    public function run()
    {
        Settings::make([
            'tab' => 'Site',
            'section' => 'SEO',
            'group' => 'Sitemap',
            'name' => 'Use search facet hierarchy',
            'config_key' => 'seo-sitemap-include-srp-facets',
            'type' => 'boolean',
            'value' => false,
            'feature' => 'search-facets',
            'description' => 'When enabled, SRP URLs in the sitemap are generated by enumerating '
                . 'the configured search facets. When disabled, the legacy make/model hierarchy is used.',
            'order' => 6,
        ]);
    }
}
