<?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('esign_contracts', function (Blueprint $table) {
            $table->string('completion_template_name', 100)->nullable()->after('sms_fallback')
                ->comment('완료 알림톡 템플릿명');
        });
    }

    public function down(): void
    {
        Schema::table('esign_contracts', function (Blueprint $table) {
            $table->dropColumn('completion_template_name');
        });
    }
};
