<?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('waternewconnections', function (Blueprint $table) {
            $table->decimal('jramount', 12, 2)->nullable()->after('address_proof'); 
            // replace 'some_column' with the column after which you want jramount
        });
    }

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

