From 74722643644e818e768ac9cf2ac6c682e323811e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 19 Feb 2026 21:18:22 +0900 Subject: [PATCH] =?UTF-8?q?feat:barobill=5Fbank=5Ftransactions=EC=97=90=20?= =?UTF-8?q?=EA=B1=B0=EB=9E=98=EC=B2=98=EC=BD=94=EB=93=9C(client=5Fcode,=20?= =?UTF-8?q?client=5Fname)=20=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 Co-Authored-By: Claude Opus 4.6 --- ...t_fields_to_barobill_bank_transactions.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 database/migrations/2026_02_19_100000_add_client_fields_to_barobill_bank_transactions.php diff --git a/database/migrations/2026_02_19_100000_add_client_fields_to_barobill_bank_transactions.php b/database/migrations/2026_02_19_100000_add_client_fields_to_barobill_bank_transactions.php new file mode 100644 index 0000000..ec60b5d --- /dev/null +++ b/database/migrations/2026_02_19_100000_add_client_fields_to_barobill_bank_transactions.php @@ -0,0 +1,25 @@ +string('client_code', 50)->nullable()->comment('거래처 코드')->after('account_name'); + $table->string('client_name', 100)->nullable()->comment('거래처명')->after('client_code'); + $table->index(['tenant_id', 'client_code'], 'bb_trans_tenant_client_idx'); + }); + } + + public function down(): void + { + Schema::table('barobill_bank_transactions', function (Blueprint $table) { + $table->dropIndex('bb_trans_tenant_client_idx'); + $table->dropColumn(['client_code', 'client_name']); + }); + } +};