From 6e553ce3c990e861f76209ee3c695971c5e2fa76 Mon Sep 17 00:00:00 2001 From: pro Date: Wed, 28 Jan 2026 08:49:40 +0900 Subject: [PATCH] =?UTF-8?q?feat:tenant=5Fprospects=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=EC=97=90=20=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - id_card_path: 신분증 사본 경로 - bankbook_path: 통장 사본 경로 Co-Authored-By: Claude Opus 4.5 --- LOGICAL_RELATIONSHIPS.md | 2 +- ..._attachments_to_tenant_prospects_table.php | 23 +++++++++++++++++++ fix_git_sync.sh | 9 ++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 database/migrations/2026_01_28_090000_add_attachments_to_tenant_prospects_table.php create mode 100644 fix_git_sync.sh diff --git a/LOGICAL_RELATIONSHIPS.md b/LOGICAL_RELATIONSHIPS.md index aa05c5d..d6211e5 100644 --- a/LOGICAL_RELATIONSHIPS.md +++ b/LOGICAL_RELATIONSHIPS.md @@ -1,6 +1,6 @@ # 논리적 데이터베이스 관계 문서 -> **자동 생성**: 2026-01-26 16:11:41 +> **자동 생성**: 2026-01-28 08:49:03 > **소스**: Eloquent 모델 관계 분석 ## 📊 모델별 관계 현황 diff --git a/database/migrations/2026_01_28_090000_add_attachments_to_tenant_prospects_table.php b/database/migrations/2026_01_28_090000_add_attachments_to_tenant_prospects_table.php new file mode 100644 index 0000000..be7f9ec --- /dev/null +++ b/database/migrations/2026_01_28_090000_add_attachments_to_tenant_prospects_table.php @@ -0,0 +1,23 @@ +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']); + }); + } +}; diff --git a/fix_git_sync.sh b/fix_git_sync.sh new file mode 100644 index 0000000..65883ed --- /dev/null +++ b/fix_git_sync.sh @@ -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