<?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('users', function (Blueprint $table) {
            $table->string('entry_effect', 16)->nullable()->after('profile_bg');
            $table->boolean('animated_banner')->default(false)->after('entry_effect');
        });
    }

    public function down(): void
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn(['entry_effect', 'animated_banner']);
        });
    }
};
