<?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::create('admin_notification_settings', function (Blueprint $table) {
            $table->id();
            $table->boolean('notify_new_user_registered')->default(true);
            $table->boolean('notify_investment_pending')->default(true);
            $table->boolean('notify_withdrawal_requested')->default(true);
            $table->boolean('notify_kyc_submitted')->default(true);
            $table->timestamps();
        });
    }

    public function down(): void
    {
        Schema::dropIfExists('admin_notification_settings');
    }
};
