feat:E-Sign 필드에 font_size 컬럼 추가
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_sign_fields', function (Blueprint $table) {
|
||||
$table->unsignedSmallInteger('font_size')->nullable()->after('field_label')->comment('폰트 크기 (pt)');
|
||||
});
|
||||
|
||||
Schema::table('esign_field_template_items', function (Blueprint $table) {
|
||||
$table->unsignedSmallInteger('font_size')->nullable()->after('field_label')->comment('폰트 크기 (pt)');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('esign_sign_fields', function (Blueprint $table) {
|
||||
$table->dropColumn('font_size');
|
||||
});
|
||||
|
||||
Schema::table('esign_field_template_items', function (Blueprint $table) {
|
||||
$table->dropColumn('font_size');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user