From 91cdfe99177e3e9d76e0a2343bf78c8aceca6b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 25 Feb 2026 20:14:41 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[equipment]=20files=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=EC=97=90=20GCS=20=EC=BB=AC=EB=9F=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - gcs_object_name, gcs_uri 컬럼 추가 - 설비 사진 멀티 업로드 기능 지원 --- ..._110000_add_gcs_columns_to_files_table.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 database/migrations/2026_02_25_110000_add_gcs_columns_to_files_table.php diff --git a/database/migrations/2026_02_25_110000_add_gcs_columns_to_files_table.php b/database/migrations/2026_02_25_110000_add_gcs_columns_to_files_table.php new file mode 100644 index 0000000..b9bc828 --- /dev/null +++ b/database/migrations/2026_02_25_110000_add_gcs_columns_to_files_table.php @@ -0,0 +1,23 @@ +string('gcs_object_name', 500)->nullable()->after('file_type')->comment('GCS 객체 경로'); + $table->string('gcs_uri', 600)->nullable()->after('gcs_object_name')->comment('gs://bucket/object URI'); + }); + } + + public function down(): void + { + Schema::table('files', function (Blueprint $table) { + $table->dropColumn(['gcs_object_name', 'gcs_uri']); + }); + } +};