<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
    public function up(): void
    {
        Schema::table('manual_payment_submissions', function (Blueprint $table) {
            $table->string('payment_channel', 50)->nullable()->after('payment_method');
        });
    }

    public function down(): void
    {
        Schema::table('manual_payment_submissions', fn (Blueprint $table) => $table->dropColumn('payment_channel'));
    }
};
