fix:gcs_uri 마이그레이션 컬럼 존재 체크 추가

This commit is contained in:
김보곤
2026-02-02 20:16:12 +09:00
parent 502e34d88e
commit 7b06644f23

View File

@@ -12,9 +12,11 @@
*/ */
public function up(): void public function up(): void
{ {
Schema::table('sales_consultations', function (Blueprint $table) { if (!Schema::hasColumn('sales_consultations', 'gcs_uri')) {
$table->string('gcs_uri', 500)->nullable()->after('duration')->comment('GCS 저장 URI'); Schema::table('sales_consultations', function (Blueprint $table) {
}); $table->string('gcs_uri', 500)->nullable()->after('duration')->comment('GCS 저장 URI');
});
}
} }
/** /**