<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CategorySeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('categories')->insert([
            [
                'name' => json_encode(['en' => 'Electronics', 'ru' => 'Электроника', 'az' => 'Elektronika']),
                'slug' => 'electronics'
            ],
            [
                'name' => json_encode(['en' => 'Sports & Outdoors', 'ru' => 'Спорт и отдых', 'az' => 'İdman və açıq hava']),
                'slug' => 'sports-outdoors'
            ],
        ]);
    }
}
