<?php

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

return new class extends Migration
{
    public function up(): void
    {
        DB::table('system_settings')->updateOrInsert(
            ['key' => 'homepage_about_title'],
            ['value' => 'Built for daily microfinance work.'],
        );
    }

    public function down(): void
    {
        DB::table('system_settings')->where('key', 'homepage_about_title')->update([
            'value' => 'Built for Nigerian microfinance teams that collect, lend, and grow every day.',
        ]);
    }
};
