From c7c9c3838dccd6ebd68430837409af98d609b625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 12 Feb 2026 20:16:46 +0900 Subject: [PATCH] =?UTF-8?q?feat:E-Sign=20=ED=95=84=EB=93=9C=20=ED=85=9C?= =?UTF-8?q?=ED=94=8C=EB=A6=BF=20PDF=20=ED=8C=8C=EC=9D=BC=20=EC=BB=AC?= =?UTF-8?q?=EB=9F=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - esign_field_templates 테이블에 file_path, file_name, file_hash, file_size 컬럼 추가 - 템플릿에 PDF 파일을 포함할 수 있도록 스키마 확장 Co-Authored-By: Claude Opus 4.6 --- ...0000_add_file_to_esign_field_templates.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 database/migrations/2026_02_12_220000_add_file_to_esign_field_templates.php diff --git a/database/migrations/2026_02_12_220000_add_file_to_esign_field_templates.php b/database/migrations/2026_02_12_220000_add_file_to_esign_field_templates.php new file mode 100644 index 0000000..fa386fa --- /dev/null +++ b/database/migrations/2026_02_12_220000_add_file_to_esign_field_templates.php @@ -0,0 +1,25 @@ +string('file_path')->nullable()->after('category')->comment('PDF 파일 경로'); + $table->string('file_name')->nullable()->after('file_path')->comment('원본 파일명'); + $table->string('file_hash', 64)->nullable()->after('file_name')->comment('SHA256'); + $table->unsignedBigInteger('file_size')->nullable()->after('file_hash')->comment('바이트'); + }); + } + + public function down(): void + { + Schema::table('esign_field_templates', function (Blueprint $table) { + $table->dropColumn(['file_path', 'file_name', 'file_hash', 'file_size']); + }); + } +};