<?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->string('banner_text', 200)->nullable()->after('season_key');
            $table->string('spotlight_style', 40)->default('default')->after('badge_label');
        });
    }

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