<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class extends Migration
{
    public function up(): void
    {
        DB::table('website_settings')->update([
            'contact_number' => '03068665907',
            'whatsapp_number' => '03068665907',
        ]);

        foreach (['phone' => '03068665907'] as $key => $value) {
            DB::table('settings')->updateOrInsert(['key' => $key], ['value' => $value]);
        }
    }

    public function down(): void
    {
        //
    }
};
