<?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('serenatas', function (Blueprint $table) {
            $table->json('ceded_cost_breakdown')->nullable()->after('ceded_notes');
        });
    }

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