<?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_body'],
            ['value' => 'NewKipp helps microfinance and cooperative teams manage members, collect savings, disburse loans, track repayments, sell bill payments, and view clear reports from one organized workspace.'],
        );
    }

    public function down(): void
    {
        DB::table('system_settings')->where('key', 'homepage_about_body')->update([
            'value' => 'NewKipp Microfinance Solution brings your members, savings, loans, investments, repayments, withdrawals, bill payments, receipts, reports, and staff work into one clean system. Whether you run from one office or many branches, your team can serve members faster, track money clearly, and give members a modern self-service portal.',
        ]);
    }
};
