<?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('collections', function (Blueprint $table): void {
            $table->text('editorial_notes')->nullable()->after('brand_safe_status');
            $table->text('staff_commercial_notes')->nullable()->after('editorial_notes');
        });
    }

    public function down(): void
    {
        Schema::table('collections', function (Blueprint $table): void {
            $table->dropColumn(['editorial_notes', 'staff_commercial_notes']);
        });
    }
};
