<?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('subledg_master', function (Blueprint $table) {
            $table->enum('Is_Bank_Verified', ['Y', 'N', 'R'])
                  ->default('N')
                  ->after('Is_Bank_Details'); // change position if needed
        });
    }

    public function down(): void
    {
        Schema::table('subledg_master', function (Blueprint $table) {
            $table->dropColumn('Is_Bank_Verified');
        });
    }
};
