<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('tenant_settings', function (Blueprint $table) {
            $table->string('theme_primary')->nullable();
            $table->string('theme_secondary')->nullable();
            $table->string('theme_background')->nullable();
            $table->string('theme_foreground')->nullable();
            $table->string('theme_radius')->nullable();
            $table->string('theme_font_family')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('tenant_settings', function (Blueprint $table) {
            $table->dropColumn([
                'theme_primary',
                'theme_secondary',
                'theme_background',
                'theme_foreground',
                'theme_radius',
                'theme_font_family',
            ]);
        });
    }
};
