<?php

// database/migrations/2025_08_19_120000_add_basicos_to_formularios.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('formularios', function (Blueprint $table) {
      $table->json('basicos')->nullable()->after('indicadores');
    });
  }
  public function down(): void {
    Schema::table('formularios', function (Blueprint $table) {
      $table->dropColumn('basicos');
    });
  }
};
