feat:tenant_prospects 테이블에 첨부파일 컬럼 추가

- id_card_path: 신분증 사본 경로
- bankbook_path: 통장 사본 경로

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-28 08:49:40 +09:00
parent a88f8a2021
commit 6e553ce3c9
3 changed files with 33 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# 논리적 데이터베이스 관계 문서
> **자동 생성**: 2026-01-26 16:11:41
> **자동 생성**: 2026-01-28 08:49:03
> **소스**: Eloquent 모델 관계 분석
## 📊 모델별 관계 현황

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('tenant_prospects', function (Blueprint $table) {
$table->string('id_card_path')->nullable()->after('business_card_path')->comment('신분증 사본 경로');
$table->string('bankbook_path')->nullable()->after('id_card_path')->comment('통장 사본 경로');
});
}
public function down(): void
{
Schema::table('tenant_prospects', function (Blueprint $table) {
$table->dropColumn(['id_card_path', 'bankbook_path']);
});
}
};

9
fix_git_sync.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
echo "Stopping file mode tracking..."
git config core.filemode false
echo "Resetting unintentional changes..."
git checkout .
echo "Pulling remote changes with rebase..."
git pull --rebase origin develop
echo "Pushing synchronized changes..."
git push