<?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('contact_message_attachments', function (Blueprint $table) {
            // Human "not evidence" flag — hides the attachment from the productive review list.
            $table->boolean('evidence_excluded')->default(false)->after('evidence_is_dsar_doc');
        });
    }

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