<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class SettingsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('settings')->insert([
            'company_name' => 'My Company', // Replace with actual company name
            'time_zone' => 'Asia/Dhaka', // Default value
            'currency' => 'USD', // Default value
            'logo_path' => null, // If no logo is set by default
            'pos_price_type' => 'fixed', // Default value
            'pos_price_value' => 0.00, // Default value
            'tenant_id' => 1, // Add tenant_id to fix migration seeding error
        ]);
    }
}
