<?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('content_types', function (Blueprint $table): void {
            $table->string('mascot_path')->nullable()->after('description');
            $table->string('cover_art_path')->nullable()->after('mascot_path');
        });
    }

    public function down(): void
    {
        Schema::table('content_types', function (Blueprint $table): void {
            $table->dropColumn(['mascot_path', 'cover_art_path']);
        });
    }
};