<?php

// database/migrations/2025_08_27_000000_create_expense_heads_table.php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
    public function up() {
        Schema::create('expense_heads', function (Blueprint $table) {
            $table->id();
            $table->string('name'); // Expense head title
            $table->timestamps();
        });
    }

    public function down() {
        Schema::dropIfExists('expense_heads');
    }
};
