feat:E-Sign 필드 text_align 컬럼 추가 (좌/중/우 정렬 지원)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-13 18:07:20 +09:00
parent adfccc9af0
commit 2dacefd14f

View File

@@ -0,0 +1,30 @@
<?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_field_template_items', function (Blueprint $table) {
$table->char('text_align', 1)->default('L')->after('font_size');
});
Schema::table('esign_sign_fields', function (Blueprint $table) {
$table->char('text_align', 1)->default('L')->after('font_size');
});
}
public function down(): void
{
Schema::table('esign_field_template_items', function (Blueprint $table) {
$table->dropColumn('text_align');
});
Schema::table('esign_sign_fields', function (Blueprint $table) {
$table->dropColumn('text_align');
});
}
};