
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('tax_sections', function (Blueprint $table) {
$table->id();
/* =========================
| Section Info
|=========================*/
$table->string('section_code', 10)->unique(); // 80C, 80D
$table->string('description', 255);
/* =========================
| Limits
|=========================*/
$table->decimal('max_limit', 15, 2)->nullable();
/* =========================
| Applicability
|=========================*/
$table->boolean('allowed_old_regime')->default(true);
$table->boolean('allowed_new_regime')->default(false);
$table->boolean('requires_proof')->default(true);
$table->boolean('is_active')->default(true);
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('tax_sections');
}
};


PK 99