
PK 
<?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::create('bank_advices', function (Blueprint $table) {
$table->id();
$table->string('bank_name', 100);
$table->string('month_year', 10); // 04-2025
$table->decimal('total_amount', 15, 2);
$table->integer('total_employees');
$table->json('rows'); // employee-wise payment data
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('bank_advices');
}
};


PK 99