<?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('tenant_prospects', function (Blueprint $table) {
            $table->string('id_card_path')->nullable()->after('business_card_path')->comment('신분증 사본 경로');
            $table->string('bankbook_path')->nullable()->after('id_card_path')->comment('통장 사본 경로');
        });
    }

    public function down(): void
    {
        Schema::table('tenant_prospects', function (Blueprint $table) {
            $table->dropColumn(['id_card_path', 'bankbook_path']);
        });
    }
};
