fix:gcs_uri 마이그레이션 컬럼 존재 체크 추가
This commit is contained in:
@@ -12,10 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
|
if (!Schema::hasColumn('sales_consultations', 'gcs_uri')) {
|
||||||
Schema::table('sales_consultations', function (Blueprint $table) {
|
Schema::table('sales_consultations', function (Blueprint $table) {
|
||||||
$table->string('gcs_uri', 500)->nullable()->after('duration')->comment('GCS 저장 URI');
|
$table->string('gcs_uri', 500)->nullable()->after('duration')->comment('GCS 저장 URI');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reverse the migrations.
|
* Reverse the migrations.
|
||||||
|
|||||||
Reference in New Issue
Block a user