feat:sales_consultations 테이블에 gcs_uri 컬럼 추가

음성 녹음 파일의 GCS URI 저장용

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-02 10:30:22 +09:00
parent 28ed5d9da7
commit c90077bd51

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
* GCS(Google Cloud Storage) URI 저장 컬럼 추가
*/
public function up(): void
{
Schema::table('sales_consultations', function (Blueprint $table) {
$table->string('gcs_uri', 500)->nullable()->after('duration')->comment('GCS 저장 URI');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('sales_consultations', function (Blueprint $table) {
$table->dropColumn('gcs_uri');
});
}
};