feat:E-Sign 필드 text_align 컬럼 추가 (좌/중/우 정렬 지원)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user